If the maximum space available consumed by the application has reach the maximum configured in the java settings, out of memory error message gets presented.
Example error:
Uncaught error from thread [default-scheduler-1]: Java heap space, shutting down JVM since 'test.jvm-exit-on-fatal-error' is enabled for ActorSystem[default]
java.lang.OutOfMemoryError: Java heap space
Solution:
When encountering this type of error, it is best to increase the heap size to reduce memory issues:
You need to look into your gateway-hub config file (the one you use for hubctl start/stop <config file>) and adjust the following:
# Memory limit in MB.
# Required: False
# Default: 64
memory_limit: 64
NOTE: If the Gateway Hub orchestration service has been registered with systemd, it is better to mask the orchestration service when upgrading the operating system on each node. For more information, see Registration with systemd.
If you have any further questions:
- Please contact with our Client Services team via the chat service box available in any of our websites or via email to support@itrsgroup.com
- Make sure you provide to us:
- ANY LOG FILE OR DIAGNOSTIC
- ANY SCREENSHOT
Comments
0 comments
Please sign in to leave a comment.