0 Replies Latest reply on Sep 24, 2015 3:22 AM by arsenii99

    Bug, AE crash while purging memory from script

    arsenii99

      Hello.

      I have a problem with purging After Effects memory from the script.

      When AE is started in ui mode (with interface) all ok.

      When AE is started in -noui mode (console, with out interface), it breaks during the execute.

       

       

      ------------------With interface------------------

      C:\Users\main_user> afterfx.exe -r C:/ae_project/scripts/temp/purge_test.jsx

      It executes a script normally.

      In my log i have.

      "

      start purge

      purge done

      "

      ------------------With out interface---------------

      C:\Users\main_user> afterfx.exe -noui -r C:/ae_project/scripts/temp/purge_test.jsx

      It not responding while execute and then crash.

      In my log i have only

      "

      start purge

      "

      ---------------------------------------------------

      Here's the code that I run

      purge_test.jsx

       

       

      var file=File("C:/ae_project/scripts/temp/testPurge/log_noui.txt");

      file.open("a");

      file.writeln("purge start");

      file.close();

       

       

      app.purge(PurgeTarget.ALL_CACHES);

       

       

      file.open("a");

      file.writeln("purge done");

      file.close();

       

       

      After Effects 12.1

      After Effects 13.5

      Same result.

      Please help!