Copy link to clipboard
Copied
Hi,
I tested this line alone in a single script with nothing else. When I go to check it out, to Edit/Purge/All Memory & Disk Cache I can still see it full of cached files.
Is this the correct syntax? Anything else that I should do to effectively clear all?
Please, let me know.
app.purge(PurgeTarget.ALL_CACHES);
I should add that I tried this way too, still with no luck:
app.findMenuCommandId("All Memory & Disk Cache...")
Thank you,
A.
Copy link to clipboard
Copied
app.purge(PurgeTarget.ALL_CACHES);
Just tried it and it worked for me. I tested it with a project that takes a little while to render and can see the preview disappear and re-render.
Copy link to clipboard
Copied
I can see that too, but when you go to Edit/Purge/All Memory & Disk Cache do you see anything still cached? The command would suppose to clear all physical data...no? Btw, I am on Mac 10.15.5, AE 17.1x72.
Copy link to clipboard
Copied
Huh yeah I still have 500mb of cache after running it but 0mb if I run it via the menu.
Windows 10, AE 17.1 build 72