Skip to main content
rashidg36532863
Participating Frequently
February 11, 2021

After Effects (and Media Encoder) RAM not freed after project closed (specially with expressions)

  • February 11, 2021
  • 4 replies
  • 1278 views

Hi everyone,

We've noticed a weird RAM behavior in After Effects 2020 (17.5.1 - Build 47) and Media Encoder (14.0.1 - Build 70)When closing and opening a project multiple times, After Effects’ RAM usage is continuously growing especially when the project contains expressions (even the simplest one). Closing the project and purging memory (and Disk Cache) do not reduce the RAM usage! The only way to make the RAM usage drop seem to be closing After Effects! The same problem exists when sending these projects to Media Encoder. The RAM, used by the After Effects sub process under the Media Encoder main process, continually grows and does not drop even when the rendering process is complete.

We already know that expressions can be RAM consuming but the fact the RAM is not freed after the project is closed seems not normal.

We tried to reduce the case to the simplest situation and made a benchmark. The details of our benchmark can be found here :


https://docs.google.com/document/d/1NEiyg-mKzBIOBioCOGqoJT4_DDG-U4Tf5dgrNbnXI-o/edit#

 

The quick conclusion is that after 20 openings of the simplest project (one comp > one solid layer) the difference in RAM between no expressions and 2 very simple expressions (basically setting the layer's position to its own position "transform.position" and scale to its own scale "transform.scale") was about 0.5 Go ! (2% RAM increase for no expressions and 74% RAM increase for the simple expressions) Again more importantly RAM that is not freed when the project is closed !

Is this a known issue ?

Thanks for your help.

4 replies

JohnColombo17100380
Community Manager
Community Manager
March 10, 2025

@rashidg36532863,

Thanks again for reporting this issue. We have a ticket open on this issue, so it was not lost in the transition from Uservoice to Adobe forums. I also moved this thread from Discussions to the Bugs.

 

Cheers,

- John, After Effects Engineering Team 

rashidg36532863
Participating Frequently
February 12, 2021
Joost van der Hoeven
Community Expert
Community Expert
February 12, 2021

Great that you posted it to Uservoice too. That is where the engereers will pick it up.

rashidg36532863
Participating Frequently
February 12, 2021

UPDATE : The problem has been nicely brought to AE team's attention. Wait & see...

rashidg36532863
Participating Frequently
February 11, 2021

UPDATE : This problem seems to happen mainly with the javascript expression engine (and not the legacy extendscript expression engine)