Render times progressively increasing on batch script render
Posted: January 30th, 2008, 3:08 am
Hi, I have written a JavaScript which reads in text files and does a series of text replacements and renders based on the text in the file. The script runs completely internally to AE (UI version). Each line of the input file is rendered by itself each time through the loop. The render queue is deleted before each render, and all caches purged after each render (I have confirmed it is returning the memory). The file is very simple: one background movie and two text layers, no fancy effects or expressions.
The results are fine, but the weird thing is that each pass through the loop the renders progressively get a little bit slower. It starts at around 30 seconds and each pass adds a second or two. This is a problem since I have over 3,000 (and more later on) of these animations to render and the extra seconds are really adding up. Quitting AE and restarting it is the only thing that seems to work to reset the render times, but that kind of defeats the purpose of scripting and batch rendering.
I guess I could have Python or AppleScript do all the looping and restart AE periodically, but that would involve rewriting the whole thing in a different language, which I don't have time for, so I'd rather avoid that. Any ideas? Anyone noticed this behavior before? Seems like a bug but I dunno.
I'm using a Core2Duo 2.16 GHz PowerBook, 2 GB RAM (plenty free while running), OS X 10.4.11, After Effects CS3 8.0.1.8. But, I have noticed this same behavior on a dual G5 tower.
The results are fine, but the weird thing is that each pass through the loop the renders progressively get a little bit slower. It starts at around 30 seconds and each pass adds a second or two. This is a problem since I have over 3,000 (and more later on) of these animations to render and the extra seconds are really adding up. Quitting AE and restarting it is the only thing that seems to work to reset the render times, but that kind of defeats the purpose of scripting and batch rendering.
I guess I could have Python or AppleScript do all the looping and restart AE periodically, but that would involve rewriting the whole thing in a different language, which I don't have time for, so I'd rather avoid that. Any ideas? Anyone noticed this behavior before? Seems like a bug but I dunno.
I'm using a Core2Duo 2.16 GHz PowerBook, 2 GB RAM (plenty free while running), OS X 10.4.11, After Effects CS3 8.0.1.8. But, I have noticed this same behavior on a dual G5 tower.