I get following error when running WSO2 Micro Integrator 4.1.0 from the Integration studio on Ubuntu 22.04 .
ERROR {NativeWorkerPool} - Uncaught exception java.lang.OutOfMemoryError: Java heap space
How can I fix this?
I get following error when running WSO2 Micro Integrator 4.1.0 from the Integration studio on Ubuntu 22.04 .
ERROR {NativeWorkerPool} - Uncaught exception java.lang.OutOfMemoryError: Java heap space
How can I fix this?
2
Answers
Ideally you should analyze the heap dump and try to figure out why the OOM issue happened. If the OOM happened due to insufficient allocation of memory to the applications, you can follow the below steps to increase memory allocation.
If the OOM happened in the Micro Integrator runtime you can try increasing the memory allocation for the JVM by referring this. If it was the Integration Studio you can increase the memory allocation by increasing the memory in
INTEGRATION_STUDIO_HOME/IntegrationStudio.ini
.You can increase the JVM values as below.