AnsweredAssumed Answered

JVM size - OutOfMemoryError

Question asked by MihailCheie604746 on Dec 18, 2018
Latest reply on Apr 22, 2019 by ShravaniVedantham613199

Hello community,

 

We recently faced issues with our remote agents stopping a lot more frequently than they used to do before. After opening a ticket with support team, they found the following issue:

 

"java.lang.OutOfMemoryError: unable to create new native thread

java.lang.OutOfMemoryError: Java heap space

 

This indicates that we need to increase the java heap size when we start the Agent. Could you please stop and then start your Agent with the following command: java -d64 -Xrs -Xmx2048M -jar ucxjcitx.jar disable_cache"

 

Our JVM size was already set at 2048M (-Xmx2048M) so we went with 3072M. This helped somehow but did not quite solved the issue. We then decided to go all in and raised the value to 6144M. After doing this we stopped having issue. 

 

It might be overkill, but if hardware resources aren't an issue, what would be considered the upper limit from which you can start having issues with your system ? 8192M, more? Has anybody experienced similar JVM issues ?

 

Thanks for any feedback?

Outcomes