Written by

Systems Management Specialist
Question Pietro Montorfano · Aug 28, 2023

Memory options for EnsLib.JavaGateway.Service

Is there a best practice to set the memory options (classic xms and xmx) on the JavaGw service in the production?

What can be recommended?

Like specifying 1024M for xmx is for a single process? that process can't grow beyond that value right? what happen if the process reach the memory limit?

Thanks

Pietro

Product version: IRIS 2021.1

Comments

Eduard Lebedyuk · Aug 28, 2023

What can be recommended?

Fixing memory leaks if you see your running jvm process consuming more and more memory.

0
Scott Roth · Aug 28, 2023

At the Java Gateway Service, I have specified the following JVM Args

-d64 -XX:+DisableExplicitGC -XX:+AggressiveOpts

At the %JDBCServer level, I have specififed 

-d64 -Xmx1024m -XX:+DisableExplicitGC -Xss512k

I have often asked for Best Practices but have not had much response. You have to play with the settings as you go...

0