When to change Engine memory
Signs heap needs increasing
Minimum and maximum heap
Set Xms and Xmx
Validate the change
Confirm restart and heap
Troubleshooting
Heap and host memory issues
When to change Engine memory
Consider increasing the Engine heap when:- The log contains
OutOfMemoryError. - The Engine restarts because it exhausts its heap.
- Garbage collection causes sustained performance degradation.
- Additional monitoring components substantially increase the workload.
- GermainUX Support recommends an adjustment.
Update the memory setting
In the GermainUX Workspace:- Open Germain > State.
- Select the Engines view.
- Search for the Engine you want to modify.
- Select the Engine.
- Locate its JVM options or memory setting.
- Update the maximum heap value:
-Xmx<size> - Save the configuration.
- Select Restart this Engine.
- Wait for the Engine to return to a running state.
Minimum and maximum heap
The two primary memory settings are:
Example:
-Xms does not need to equal -Xmx. Increase the initial heap only when the Engine workload and JVM behavior justify it.
Do not configure -Xmx higher than the physical memory available to the Engine after accounting for:
- Operating-system memory
- Engine Manager memory
- Other Engine instances
- Native JVM memory
- Monitoring tools
- Database drivers and native libraries
- Other applications running on the host
Default JVM parameters
A standard Engine configuration may include:
The exact defaults may differ by Engine and Java version. Preserve package-supplied options unless you have a documented reason to change them.
Validate the change
After the Engine restarts, confirm that:- The Engine returns to a running state.
- Its heartbeat appears in Germain > State.
- The process command line contains the new
-Xmxvalue. - Monitoring components resume execution.
- New telemetry reaches GermainUX.
- No invalid JVM-option error appears.
- No new memory pressure appears at the host level.
Monitor the result
After increasing memory, monitor:- JVM heap utilization
- Garbage-collection activity
- Host physical-memory usage
- Swap or paging activity
- Engine CPU utilization
- Engine restarts
- Component execution time
- Local state-store growth
- Moving components to another Engine
- Moving an Engine to another host
- Deploying additional Engine hosts
- Reducing unnecessary execution frequency
- Correcting a component that retains excessive memory
- Increasing host capacity
Troubleshooting
Engine does not start after the change
Check for:- Invalid JVM syntax
- Unsupported JVM options
- A heap value larger than available memory
- Duplicate or conflicting
-Xmxsettings - Incorrect units
- Java-version compatibility
The new value is not applied
Confirm that:- You modified the correct Engine.
- The configuration was saved.
- The Engine was restarted.
- Another configuration source does not override the setting.
- The effective process command line contains only one
-Xmxvalue.
The Engine still reports out-of-memory errors
Verify that:- The new heap value was applied.
- The host has enough physical memory.
- The workload is appropriate for the Engine.
- No component has a memory leak or unusually high demand.
- Multiple Engines are not competing for the same host memory.
- Native memory—not only Java heap—is not exhausted.
Get Help
Contact GermainUX Support
The GermainUX team helps you get up and running faster, empower your team, turn data into actionable insights, and optimize performance to deliver measurable business outcomes.
Can't find what you need?
Search all GermainUX docs with Ctrl + K, or use the feedback buttons at the bottom of this page to tell us what is missing.
The content of this document is proprietary to GERMAIN SOFTWARE.

