How do I fix out of memory in After Effects?

Fix After Effects error Unable to allocate memory. When you run After Effects, you could receive messages like,“Unable to allocate 0.000 MB of memory” or, “Unable to allocate 0.002 MB of memory.” 

It can be a project-specific issue or a system configuration issue. In this article. Ngolongtech will show you how to fix this error.

How do I fix out of memory in After Effects?
Fix After Effects error Unable to allocate memory

  • Fix After Effects error Unable to allocate memory
  • Video on Fix After Effects error Unable to allocate memory

If this is happening during a render(not a preview) then your hard drive does not have enough free memory. Time to delete files or archive projects/files to another hard drive and then delete files. Or add more hard drives.

Try to reduce the amount of memory allocated to other applications:

SelectAfter Effects CC > Preferences > Memory. Change the RAM reserved for other applications and click OK.

How do I fix out of memory in After Effects?
RAM reserved for other applications

Purge Memory and Disk Cache:

SelectEdit > Purge > All Memory & Disk Cache.To delete all the files from your disk cache, clickOK.

How do I fix out of memory in After Effects?
delete all the files from your disk cache

Another way to clean Media and Disk cache is:

SelectAfter Effects CC > Preferences > Media & Disk Cache. In the Preferences dialog, click Empty Disk Cache to clean disk cache and Clean Database and Cache to clean media cache.

How do I fix out of memory in After Effects?
click Empty Disk Cache

Switch Ray Tracing to CPU:

If you have usedRay Traced 3D Renderer, selectPreferences > Previews.In thePreferencesdialog, clickGPU Informationand switchRay TracingtoCPU.

How do I fix out of memory in After Effects?
Switch Ray Tracing to CPU

Reset preferences for After Effects. Make sure that After Effects are closed in your machine (while following the steps).

MacOS

Go to your desktop and click GO on the Menu bar. Select Go to Folder from the drop-down and type the following path:/library/preferences/darkedeneurope.com From the list of applications, select After Effects and rename it as ’After Effects1’.Go to Documents folder in your computer and open the folder named darkedeneurope.com. In the darkedeneurope.com folder, rename the After Effects folder as ’After Effects1’.

Windows

In the Run command (Win key+R) dialog, type %appdata%.Open the folder named darkedeneurope.com.Rename the After Effectsfolder as ‘After Effects1’.Close the window and open Documents folder. In the darkedeneurope.com folder After Effects folder and rename it to ‘After Effects1’.

Check the composition creating issue:

Create a blank project. Turn on Caps Lock and try to import the faulty project. Open compositions one by one and toggle Caps Lock to check which composition is creating issue.

If you run into any other issues, or you want to post, discuss, and be part of our knowledgeable community, visit the After Effects forums. To report suspected bugs or suggest modifications to existing features in an darkedeneurope.com product, use the Feature request/bug report form.

Video on Fix After Effects error Unable to allocate memory

Why is After Effects taking up so much memory?

As you work on a composition, After Effects temporarily stores some rendered frames and source images in RAM, so that previewing and editing can occur more quickly. After Effects does not cache frames that require little time to render.

How much RAM is needed for After Effects?

The minimum amount of RAM that After Effects needs to run is 8GB. However, Adobe recommends using 16GB of RAM.

Can I empty disk cache After Effects?

To clean your disk cache, head over to your After Effects Preferences, go to Media & Disk Cache, then hit Empty Disk Cache. A few people reported that this didn't necessarily delete the files off their drives, and this could be for a multitude of reasons such as whether you're still using the cache files or not, etc.

How do you fix keylight memory?

SOLUTION: In the preferences/memory and cache panel there are two caches. One is for conformed media. Cleaned this cache and the problem stopped.