-
Rendering Large Comps and “Unable to Allocate Space” Error
Hello!
So I have this project I’ve been working on and while I’m 99% sure I know what’s going on, I’d really like to confirm with you guys before I spend another whole day trying to fix it. Here’s what’s going on:
I’m working on a white-board style animation, and using a 9000x7000px multi-layered PSD as the source image. In my first attempt to render the animation, I got the “unable to allocate space for 9000×7000 image” error. Despite going online and adjusting all the render preferences, even the “secret” preference I couldn’t get it to render. That in conjunction with the 46hrs render time told me I need to cut up the images into smaller PNGs.
So yesterday, I saved every layer in the PSD as a PNG, making sure none are larger than 1920×1080. then I put all these elements in a pre-comp that was 9000×7000, so I could move the pre-comp around, and zoom in and out of it on the main composition, while the animations took place inside the large pre-comp. This took the render time down to 5hrs, but again, I kept getting the “unable to allocate space for 9000×7000…” error. But in getting the render time down, I felt like I was getting somewhere.
After some more searching online, I saw some people suggest that if a pre-comp has elements in it spread out too large, it will return the “unable to allocate..” error, as if it were a large image. SO I took every layer in the large pre-comp, put it in the main comp and parented them to a null object so I could move them around uniformly. This took the render time down to 1hr, but I got the same error/crash.
After much hair-pulling, I realized that I have a couple dozen precomps in the main comp that are 9000x7000px even though they only have a couple elements in them, and most of the composition is empty space.
So here is my question: Are these 9000×7000 precomps being treated effectively as images, when AE tries to render? Even though much of the space in the precomps are empty? And should this problem be resolved if I remove/crop every single large composition?
I should note that the crashes only occur when the render hits the part of the timeline that include these large precomps, which is why I’m confident resizing will fix it. I just really need to talk to another human being about this, for my own sanity’s sake.
Specs:
2008 Macbook Pro
2.4 GHz Intel Core 2 Duo
4 GB DDR3 RAM
After Effects 9 (CS4)