After Effects & RAM 101

Thumbnail preview

The issue of how After Effects uses RAM is one of those topics that seems to get asked just about every forum, at least once a week. I’d like to clarify some of the confusion on this.

The fundamental issue revolves around the following issues:

  • Despite the amount of RAM one has in their computer, when launching After Effects the splash window (or the About window) will show a much lower amount being used, such as 3GB.
  • Furthermore, there is a preferences panel that gives the impression that one has more control over this RAM allocation, and that there is some magic setting to fix the issue.
  • That because After Effects only seems to use 3GB of RAM at best, that having between 2-4GB of of RAM is “plenty.”

Cutting to the chase, and to make you a more informed user, I’d like to present the facts, and then explain them in a little detail:

  • You SHOULD have more than 4GB of RAM in your computer
  • Your computer most likely can and will use more than 4GB of RAM for After Effects

Currently, After Effects on Mac OS X can use up to 3.5 GB of RAM.  After Effects on 32-bit Windows operating systems (XP, Vista 32) can use up to 3 GB of RAM; however, to use more than 2 GB in After Effects, you must configure Windows XP or Windows Vista appropriately.  For details on this, see Jonas Hummelstrand’s website: (www.adobe.com/go/learn_ae_jonaswindows3gb.) After Effects on 64-bit Windows operating systems can use up to 4 GB of RAM with no special configuration.

So, where does the other RAM come in? If you bought 12GB of RAM, was that a waste of money? No!!

When you work with After Effects, knowing full well that it is limited to that RAM that we just spelled out, there’s more going on behind the scenes that you might realize. If you proceed to Preferences>Multiprocessing, you’ll find an option to enable multiprocessor rendering. In fact, you’ll see a very description paragraph as to what multiprocessing actually is doing.

After Effects will “use multiple processes to speed rendering for RAM preview and final output”, ie. rendering.

What are these “multiple processes?”

Behind the scenes, when you render or perform a RAM preview, additional applications launch in the background that you do not see. In fact, the only way to see them is to launch a process viewer. In Mac OS, you can use the Activity Monitor. What you will see are processes called “aeselflink” (AE Self Link.)

These are helper applications that can use up to 2GB of RAM for each CPU. Being that even one “duo core” has 2 CPUs, you can see how this might add up very quickly. A dual quad core computer has 8 CPUs, which can easily eat up as much as 16GB of RAM when rendering. And this doesn’t count any additional programs you might try to run in the background.

If you have a small amount of RAM (less than 4GB), there is a distinct possibility that using multiprocessing will slow down the rendering process. If you lack the RAM for the helper application(s), your computer will use virtual RAM (hard disk space.) This, most likely, will slow the rendering process. This obviously depends on how many CPUs you have, and how much RAM.

So, get that RAM. You SHOULD have a lot of RAM as an After Effects user. For as much as you spent on that computer, having a low amount of RAM will greatly reduce the potential speed of your machine.  This goes for AE CS3 and CS4.

36 Responses to “After Effects & RAM 101”

  1. [...] This post was Twitted by splasz – Real-url.org [...]

  2. Hussin Khan says:

    Hey Gary, I’ve always been puzzeled about this when it comes to AE. Thanks for making it clear. I’ve 2GB on my 32bit XPP running AE CS4. Now I have a reason to go to 4GB! Well done!!

  3. David Oldani says:

    Thanks for the explains, very useful !!!

  4. Jim Gravina says:

    Well written! Its funny because I was just contemplating getting another 6GB of RAM in the next week (i have 6GB now). I think this post just made my decision easier!

  5. Topher Welsh says:

    Yeah GARY! awesome post dude… well written… finally an end to the confusion.

    I hate seeing this question on forums so damn much…

  6. Lloyd says:

    My Throttle script http://aescripts.com/tag/throttle/ allows you to easily switch MP on and off as well as change how many procs are used for MP in CS4. I find that depending on the complexity of the project I like to turn MP on and off depending on what I am trying to do.

  7. Hadi says:

    Thanks alot. right now I have a laptop with Intel 2GHZ core 2 Duo, Nvidia GeForce 8400M G128mb and 2GB of RAM.

    I will sure invest on RAM When I build my workstation CPU. Of course when I get the money.

  8. Boris says:

    Hi there.

    Iam actually using a Xeon X5355 @ 2.66 Ghz Dual Quad with 16 GB RAM. So this is interesting for me. BUT: i tried this option once before and now did it again. With the same result: rendering slows down and the RAM-Preview shortens out. So I dont get it. Its slower end even the Preview is shorter. Iam working on Vista Ultimate 64 bit. This system is stable and overall very fast. So any ideas? Would be great :)

    regards,
    Boris

    P.S: Iam from germany, hope my english is not too bad :)

  9. Jesus says:

    Note: 32 bits apps running on 64 bits Windows can take up to 4 gb.

    Boris:
    If you are using After Effects CS3 (and even with CS4) I would suggest you to try Gridirion Nucleo Pro as it will take full advantage of your computer.

  10. Shannon says:

    This was very informative. I will definately adhere this advice when I build my next comp. Great Post.

    Also!! Lloyd thanks for the link to the throttle script. That will be very useful in the future.

  11. Alex says:

    “If you have a small amount of RAM (less than 4GB), there is a distinct possibility that using multiprocessing will slow down the rendering process”

    I didnt get all clear, were you talking about how much ram is in the computer or how much ram can win32 see? I have 4 gb ram but win can see only 3.

    P.S. great article, thx

  12. sara says:

    coooool

  13. JoeA says:

    You cannot use more than 4 GB RAM in the 32bit version of XP or Vista. What you think is more RAM is actually virtual RAM on your disk, that’s likely the reason why it is slower. The feature that allows access to RAM above 4GB in a 32 bit OS is called PAE or Physical Address Extension and it’s only available in Windows Server OS’s.

    http://support.microsoft.com/kb/283037

    • Harry says:

      The requirements for Nucleo Pro 2 (which I use on CS3) are: Adobe After Effects CS3 or 7. CS4 is not supported.

      Boris, also… you might notice a lag with the helper apps turning on in the background when you initiate a preview. So, there is a little delay, but then it eventually speeds up. Nucleo Pro REALLY helps this. But why your RAM preview SHORTENS, I am not sure. RAM Previews do not benefit from additional RAM as far as I know. However, you might want to enable the DIsk Cache to store some of that RAM preview material on disk so AE won’t lose it when you switch from comp to comp.

      Also, @ Jesus, my article does state “After Effects on 64-bit Windows operating systems can use up to 4 GB of RAM with no special configuration.” Hopefully I made that part clear.

  14. Warti says:

    Hi,
    i use OpenGl for render. So i dont need many ram?
    I have a Nvidia GTX285 with 1GB Ram.
    So i dont know what should i do. I think my Grafic card can render faster than my cpus with more Ram. True ?

  15. Thank you, thank you, thank you for posting something that is more intelligible than what Adobe technical support can muster. May you have many happy keyframes!

  16. Dear Harry,

    i think i asked that question once a long time ago on mograph lol :-)

    thank you very much for taking the time to clear this up once and for all,

    Greetings,
    Teyega Visuals

  17. graham smith says:

    what if i’m using nucleo. ive been advised to untick this multiprocessing box in the settings i after effects. when rendering in nucleo pro 2 it can get abit funny with the multi processing on in ae.

    do you know if this is true?
    or can i ram preview in ae with the ticked multiprocessing on and also carry on
    gettign the max production time from nucleo

    chers, look forward to hearing regards this.

    graham from the electricalmtrees lab

  18. pixelking says:

    Question:
    I was setting up the multiprocessor at a place i’m working at and was told that the multi processor feature interferes and slows down rendering when rendering to their servers (They don’t allow rendering to desktop).

    Is this true?

    • admin says:

      I can’t see MP being directly related to “interfering” with servers. It renders the same way as without MP, just more frames at the same time. Maybe it overloads the server when repeatedly requesting media for all the processors?

      I’ve worked at several places using server setups, and MP runs just fine, on the Mac OS and on XP64. So, I don’t really know what the problem would be. I can say this: buying a Dual Quad and disabling multiprocessing is a tremendous waste of money!!

  19. pixelking says:

    I agree and will forward this info to my current employers.
    I just wanted to hear it from someone who KNOWS as apposed to someone there who THINKS they know.

  20. pixelking says:

    Thanks for the info!!!

  21. Jan VdB says:

    I run CS4 on a MacPro 3Ghz Dual Core Intel Xeon, 4 cores, 12G ram.

    Which settings do I apply in AE preference panel ? Do I enable Disk Cache ? How much RAM do I leave for other applications ? I suppose Min allocation per CPU should be set to 2 ? How many CPU’s do I leave for other applications ?

    I really hope somebody could help me out on this cause I have 20 second commercials that need to render two hours… and that’s too much :o )

    thank you

    Jan VdB

  22. Sophia lim says:

    Agree and thanks.I am using AE CS3,but my RAM only 2GB, that’s why my PC always lack.

  23. Barry B says:

    I’m glad I found this post. I’ll factor the info in when I’m putting together my next workstation.

    Thanks!

  24. camilo says:

    Es la ayuda más genial que he encontrado hasta ahora, es lo que necesitaba para algunos proyectos grandes que tengo, probé el 3GB switch, pero no funcionó, pero parece que esto si funciona, gracias Splasz.

  25. [...] So you know you need memory, but how much memory do you need? Well, If you do a lot of motion graphics, 3D, and are running professional video applications, the answer is as much your computer can handle, or as much as you can afford (whichever comes first). For a more in-depth explanation, check out Harry Frank’s fantastic article “After Effects & RAM 101″. [...]

  26. James Kamotho says:

    Thanks man for the great tips I have a 2GB and will definitely try and get to 4GB soon because this software if giving me such a headache. Does it help when you add a graphics card?

  27. Nick says:

    This is probably a dumb question, since the article pretty much explains everything. But just make things sure: so all I need to do is get a large RAM, like 12GB and then change that option in AE? That’s all and my speed will increase?

    • admin says:

      Universal “speed” is probably not the right way to look at it. RAM previews and renders will increase in speed, as those are the processes that use multiple processors & more RAM. Interaction with the application will mostly be the same until it moves to CS5 and 64 bit.

  28. found your site on del.icio.us today and really liked it. i bookmarked it and also will be back to ascertain it clear out some more later :-D

  29. J says:

    I’m still a bit confused. Must be my age.

    Just to clarify, when stating “You should have more than 4Gb RAM in your computer” – that doesn’t apply to Win XP 32-bit systems does it? Because as far as I understand, any more than 4Gb is not addressable by WinXP 32-bit, so After Effects wouldn’t see it either.

    Or am I wrong? We have AE running on a WinXP 32bit system with 2 x Dual Core Xeon processors and 4Gb RAM. No point in increasing the RAM as far as I can see. Better to get a 64bit system.

  30. rob vz says:

    Couldn’t understand why AE CS3 was taking ages to start up a RAM preview.

    Multiprocessing check box was the problem.

    Thanks for the great advice.

  31. Harry says:

    I guess in the case of XP32, it would be the 3GB limit.

    The point is, enabling multiprocessing on a computer that is using a high amount of virtual RAM (hard disk space) can often be quite sluggish as it juggles read/write in AE plus swapping data back and forth between RAM and the drive.

  32. Harry says:

    Nucleo Pro manages the multiprocessing for you, and much better I must sat. I’ve been a big fan of Nucleo Pro 2 and I am looking forward to using it with CS4!