Troubleshooting "OutOfMemoryError" message in Classic
Who is this article for?Users who encounter the out of memory error while using the application.
Local Admin permissions are required.
Users of the local version may receive an out of memory error relating to the Java heap space. This could happen in various parts of the system when uploading data, for example, when loading PI collection settings or images. This article walks you through how to resolve it.
1. Issue
While using the EXE application, you may see this error.
This is related to Garbage Collection (GC) in Java. GC is an automatic process of deleting unused code objects to free up memory space, but under varying system usage, this may not be effective enough.
Applications such as Risk EXE, this can be configured. As they come with the required elements of Java already bundled in, this default size or heap size can be configured in the JVM options within the application configuration file.
2. Solution
To resolve the issue, you need to increase the default heap size.
To increase the default heap size:
- Navigate to the following location: C:\Program Files (x86)\Ideagen Risk Management\app.
- Find a file named Ideagen Risk Management.cfg.
- Open the file in a text editor.
- Find a section called JVM Options.
- Add the following text on the very last line: -Xmx1024m .
- Save the file.
Re-launch Risk Management for the increased heap size to take effect in the application.