Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

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

Explorer ,
Feb 11, 2021 Feb 11, 2021

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.

Bug Investigating
TOPICS
Expressions , Performance
1.3K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Pinned Reply

Adobe Employee , Mar 10, 2025 Mar 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 

Status Investigating
Translate
7 Comments
Explorer ,
Feb 11, 2021 Feb 11, 2021

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

Translate
Report
Explorer ,
Feb 12, 2021 Feb 12, 2021

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

Translate
Report
Explorer ,
Feb 12, 2021 Feb 12, 2021

UPDATE : We've reported the issue on adobe uservoice :
https://adobe-video.uservoice.com/forums/911311-after-effects/suggestions/42692237-after-effects-and...

You might want to vote 🙂

Translate
Report
Community Expert ,
Feb 12, 2021 Feb 12, 2021

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

Translate
Report
New Here ,
Mar 23, 2023 Mar 23, 2023

This link isn't working - would you mind reposting the solution?

Translate
Report
Explorer ,
Mar 23, 2023 Mar 23, 2023

adobe user voice has been migrated to adobe community and I think they deleted this topic.
--> https://community.adobe.com/t5/premiere-pro-discussions/faq-migration-of-uservoice-to-support-commun...

We didn't really find a solution beside the fact that : This problem seemed to happen mainly with the javascript expression engine (and not the legacy extendscript expression engine).

Translate
Report
Adobe Employee ,
Mar 10, 2025 Mar 10, 2025
LATEST

@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 

Status Investigating
Translate
Report