12 Replies Latest reply on May 4, 2016 7:21 PM by Palisades-Web

    After Effects: Out Of Memory

    Woodsman819

      Okay I'm trying to render out a minute long comp. I have it set to render to a 1280x720 .mov using the Photo-Jpeg codec. However, everytime I try to render it'll get part way through then say "After Effects: Out Of Memory". I've tried purging the cache and stuff. I have 8gb of free space on my HDD and 2gb of ddr2 memory. I could really use some help here as this is probably my best work to date.

        • 1. Re: After Effects: Out Of Memory
          Adolfo Rozenfeld Adobe Employee

          2 GB of RAM is really, really the minimum.

          Do you have a multi-core machine? Do you have Render Multiple Frames Simultaneously turned on in preferences? If so, you'd have to disable it. 2 GB is not enough for multiprocessing, regardless of the number of cores.

          • 2. Re: After Effects: Out Of Memory
            Woodsman819 Level 1

            I know I need a new computer, however, I'm broke, I got no job (not for the lack of trying), I'm only 16. So for now I'll have to make do with what I got. I've been using AE on this computer for about a year and a half now, with little to no problems.

            • 3. Re: After Effects: Out Of Memory
              Adolfo Rozenfeld Adobe Employee

              I don't think you need a new computer. You may need a bit more RAM memory, that's all.

              Maybe there's something specific in your project that makes it use more memory than your typical project, that's all.

              • 4. Re: After Effects: Out Of Memory
                Woodsman819 Level 1

                No a new computer is a must. I already have as much RAM as my laptop will take. When/if I get new computer, I'll probably get a nice gaming computer. For the most part a gaming PC works great for video editing (same basic specs, Graphics card, RAM etc.) Anyways do you have any other suggestions on how I could get this to work?

                • 5. Re: After Effects: Out Of Memory
                  Mylenium Most Valuable Participant

                  Woodsman819 wrote:

                   

                  Anyways do you have any other suggestions on how I could get this to work?

                   

                  Don't use Photo-JPEG or any other compressed Codecs! From inside AE that is. What happens here is that the additional math transformations (discrete cosinus transforms [DCT] and other geek stuff) required to let the compression do its thing also take up valuable memory and it may actually be that part that prevents you from creating your movies. At best, use "simple" RLE compression as employed by the Animation CoDec (which, depending on the image content may even be more efficient than Photo-JPEG). If, for some reason you need specific CoDecs, then do the compression externally using Quicktime Pro or, should you require H.264 and other MPEG derivates, with ffmpeg or similar tools. AVIs can easily be created with VirtualDub and it even supports some QT formats, so there are some free options as well. And of course in CS4 there's Adobe Media Encoder for such tasks... And another tip to improve behavior: render to image files (TIFFs), then convert the image sequences in a second go. This will prevent AE from having to keep open a large movie file to append frames in the first pass, which will make it more reliable.

                   

                  Mylenium

                  • 6. Re: After Effects: Out Of Memory
                    Woodsman819 Level 1

                    Thanks! I never thought about that. Unfortunately it didn't work. I guess I'm screwed on this one.

                    • 7. Re: After Effects: Out Of Memory
                      Mylenium Most Valuable Participant

                      Mmh, yes, of course, these are just tips, not guaranteed cures. It should however be completely possible to render such comps on a 2 gig system. It may not be fast or fancy, but it should work. So something else must be causing this. What source footages do you use? What effects? Maybe a specific effect is just getting memory hungry (blurs and glows dilate the buffers considerably...)

                       

                      Mylenium

                      • 8. Re: After Effects: Out Of Memory
                        Woodsman819 Level 1

                        For the most part this entirely done inside AE the only outside source is a still image, a couple of PNG sequences from 3d max, and some wav files. The only effects that are exstensivly used are Cartooner from the Boris Complete Continuum 6 and Vector Paint. The really strange thing is that I have no issues doing a RAM preview inside of AE, but if I try to export the comp it gets all "RAWRR: No memory left."

                        • 9. Re: After Effects: Out Of Memory
                          Mylenium Most Valuable Participant

                          Still strange. If you selectively disassemble your project? Render without audio? Turn off Cartooner? It could work then and at least you'd know who to blame.

                           

                          Mylenium

                          • 10. Re: After Effects: Out Of Memory
                            Woodsman819 Level 1

                            Good idea! I'll try rendering the audio seperately.

                             

                            EDIT: This is interesting. I tried rendering without the audio, and now I get this:

                             

                            Unspecified Error.jpeg

                             

                            Message was edited by: Woodsman819

                            • 11. Re: After Effects: Out Of Memory
                              Palisades-Web Level 1

                              My solution was to render part of my timeline, then import it, then render the whole thing together. Part of my timeline had multiple layers of effects such as directional blur.

                              • 12. Re: After Effects: Out Of Memory
                                Palisades-Web Level 1

                                This is a QuickTime issue. Just upgrade to the newest version of QuickTime.