Q100140: How to increase stability by limiting the number of processors that Foundry plug-ins for Adobe After Effects use

Follow

SUMMARY

This article explains how to launch Adobe After Effects with Foundry plug-ins limited to the number of processors they can use.  This can help with troubleshooting any problems with Foundry plug-ins for After Effects.

 

MORE INFORMATION

Sometimes Foundry plug-ins for After Effects, such as Keylight or Camera Tracker, can become unstable as they can be very hardware intensive. Limiting the max number of processors that Foundry plug-ins use can improve stability.

You can set the number of processors that Foundry plug-ins use by setting and environment variable called FOUNDRY_MAX_PROCESSORS.  

The instructions below will limit the plug-ins to running on a single processor. To make them run on more processors you would set the variable to a higher number.


​Windows

PLEASE NOTE: The following instructions will temporarily set the environment variable. Please see the FURTHER READING section for more details on setting permanent environment variables.

  1. Open a Command Prompt and using the cd command, navigate to the Support Files folder inside the After Effects folder. Below is an example command with the default location:
    cd C:\Program Files\Adobe\Adobe After Effects ####\Support Files
  2. In the Command Prompt, run the following command to set the environment variable:
    set FOUNDRY_MAX_PROCESSORS=1
  3. In the same Command Prompt, run the following command​ to launch the plug-in with the new maximum:
    AfterFX


​macOS 

PLEASE NOTE: The following instructions will temporarily set the environment variable. Please see the FURTHER READING section for more details on setting permanent environment variables.

  1. Open a Terminal from Applications > Utilities
  2. In the Terminal session, run the following command to set the environment variable:
    export FOUNDRY_MAX_PROCESSORS=1
  3. In the same Terminal session, run the following command to launch the plug-in with the new environment variable:
    open -b com.adobe.AfterEffects 

 

FURTHER READING

More guidance on how to set environment variables is available here: Q100015: How To Set Environment Variables

    We're sorry to hear that

    Please tell us why