I have 48gb RAM total on an 8 core machine with 16 virtual cores.
Here's the allocation from the M&M page:
2 Reserved for Other Applications
3 GB per CPU Core
13 Actual CPU Cores Used
From this, I would think AE is supposed to use 39 GB (13 x 3gb) and would leave 9 gb available for other apps. Should I try lowering the number of GBs per Core to 2? I would have thought that 9 gb of spare RAM would be enough for the any other apps. In general, I would think more GB per core would be better, but maybe not?
Is there a memory leak or other issue with AE freeing up the RAM after Rendering? Remember, the crashing comes not while I'm rendering, but afterwards when I try to do anything else, either in AE or in another program.
As the page that I pointed to says, you should be reserving more RAM for other applications. At least 1/4 of what you have installed (so, 12GB). Explicitly set the RAM reserved for other applications to 12GB or higher.
Thanks... I'll try that. If figured that there was 9gigs of RAM left, that would normally be enough to do anything.
Plus here's the $64 question: The problem comes AFTER rendering is done and the file is finished, when presumably AE should have released the RAM back to general use. Why is it holding onto the RAM (if that's what it's doing)? When the crash comes, it doesn't even generate a crash log, it just beachballs me to death...
Is it better to allocate more RAM per processor but fewer processors or less RAM but more processors?
If you can only choose 2gb or 3gb per proc which scenario is better?:
a) 12 procs at 3gb leaving (36gb) 12gb (25%) free
b) 15 procs at 2gb (30 gb) leaving 18gb (37.5%) free
I'm not doing any heavy lifting in the BG or doing much beyond watching a QT after the render is done.
By reserving more RAM for other applications, you are preventing other software (including the OS) from misbehaving. It's the operating system's job to manage memory; by reserving RAM for other applications, you're both giving some margin for error on the operating system's part (and Mac OS needs a lot of margin for error in its memory management) and preventing swapping and other bad results when other software needs RAM. Please read the page that I linked to; it should explain well enough.
There is no one right answer for your other questions. The answers depend on details of your composition, your computer, and what other software you're running.
Please, carefully read the resources here, do some tests with your specific compositions, and then come back if you have specific questions:
OK, thanks Todd... I now realize there's no one size fits all. I had actually read the literature before but never grokked how much RAM needs to be reserved for the operating system even if you have a boatload already. I'll keep fiddling until Rome doesn't burn any more...
BTW, QuickTime, RED codecs, and some plug-ins (the ones that spawn additional helper processes) all use more RAM than you'd think, and they are using RAM in the "reserved for other applications" area.