• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

How to empty memory allocated space after exiting the script

Explorer ,
May 14, 2017 May 14, 2017

Copy link to clipboard

Copied

Hi.

my script need to close and open several times for updating parameters.(win.close();    eval(myScriptPath) )

when the script closing, allocated space for memory will not be empty and when open again memory allocated increase.

what is solution for getting empty memory after closing it?

thanks for answering ...

sc.jpg

Views

266

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

LEGEND , May 14, 2017 May 14, 2017

You can't control memory handling with scripts. AE handles this all by itself since the scripts obviously only are reflections of internal commands. At best you could append a "purge" command after your script, but that would also affect the undo queue and some other things, which may not be what you want.

Mylenium

Votes

Translate

Translate
LEGEND ,
May 14, 2017 May 14, 2017

Copy link to clipboard

Copied

LATEST

You can't control memory handling with scripts. AE handles this all by itself since the scripts obviously only are reflections of internal commands. At best you could append a "purge" command after your script, but that would also affect the undo queue and some other things, which may not be what you want.

Mylenium

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines