Skip to main content
Lazlo_Hollyfeld
Inspiring
November 20, 2012
Question

Can I limit how much memory afterfx.exe consumes when invoked from the command line?

  • November 20, 2012
  • 1 reply
  • 1262 views

I'm running afterfx.exe via the command line interface, but when I run it from there and check out tasklist, I see that afterfx keeps consuming as much RAM that is available.  While I'd love for my renders to move faster, I really need to keep a limit on how much RAM it consumes.  Is there a way to do this?  I thought I read about the -m flag when calling afterfx.exe, but I can't seem to find it documented. 

Anybody have any suggestions?

Thanks!

This topic has been closed for replies.

1 reply

Todd_Kopriva
Inspiring
November 20, 2012

When called from the command line, After Effects should still honor the preference setting for RAM Reserved For Other Applications. Is this not working for you?

Lazlo_Hollyfeld
Inspiring
November 20, 2012

I have not checked that preference, but will.  What if I wanted that setting to be different when afterfx.exe runs with the -noui flag as opposed to running it as a gui app?

Do you know if the -m flag is valid, or did I just dream there was such a flag? 

Thanks!

Todd_Kopriva
Inspiring
November 21, 2012

The -m command-line switch tells After Effects to start a new instance of the application, even if there's already one running.

No, you can't have different instances take different preference settings.