Importing/Rendering large number of projects: Cache Probem?

Find out why the . goes before the /

Moderator: Paul Tuersley

Post Reply
sbaden
Posts: 35
Joined: June 16th, 2009, 1:07 pm
Location: Santa Clarita, CA

I'm looking for some advice on importing and rendering a large number of projects.

I currently have a script that versions out projects and then imports the projects and renders them. The script works perfectly for small batches of these projects (I've tested as many as 200- 250).

This is the problem I'm having:
-I have 890 projects versioned out. The script process/AE freezes up importing the comps.
-If I cancel the script, manually import the comps and start rendering the renders start out at 2 minutes each. After a length of time the renders quickly jump to 4, 6, 8, 12, 15, 20, 26, 30 min, etc.

I'm assuming or guessing that this is a caching problem. I'm wondering if adding code: app.purge(PurgeTarget.ALL_CACHES); after versioning the projects and closing the project and again after importing all of the projects would help. I'm also concerned that I would some how have to interrupt the render process every so often to purge the cache as well.

I'm also wondering if having the script version out the projects to a watch folder might also be a solution. Perhaps this would be the easiest, more straight forward solution? If this is the better solution... I have not been able to find documentation for the app.project.save() method where I can control settings for "Collect Files" so that I can save the project with the watch folder information.

Any advice would be appreciated.

Thank you...
Last edited by sbaden on October 29th, 2009, 1:25 pm, edited 1 time in total.
Post Reply