Engine Memory Configuration

✨ Feature

Steps to adjust the memory available to an Engine.

⚙️ Configuration

In the Germain the Workspace:

Step

Action

1

Open Germain State

2

(Optional) Search for the Engine to clean up the list

3

Select the Engine that needs it’s memory adjusted

4

Modify the memory setting (-Xmx#g)

5

Save

6

Click “Restart this Engine”

image-20201208-002811.png



You can verify the change has taken effect by watching the logs, or by looking at the “Command Line” for the Process.

📋 Default Parameters

Parameter

Details

-server


-Xms256m

you may need to adjust Xms based on the number of components running inside the engine

-Xmx1024m

you may need to adjust Xmx based on the number of components running inside the engine

-XX:+CrashOnOutOfMemoryError

means that the JVM will crash / exit when there is not enough memory to continue; otherwise the JVM will continue running code in a potential faulty state.

-XX:-HeapDumpOnOutOfMemory

means that the JVM will not create a heap dump when it has an out of memory crash. These are large and unnecessary as the logs will have enough data to determine the cause.

-XX:-CreateMinidumpOnCrash

means that the JVM will not create a Minidump when it crashes. These are unnecessary as the logs will have enough data to determine the cause.


Component: Engine

Feature Availability: 2022.1 or later