Ignition server - Java 8 - garbage collector setting

What are the advocated settings for Java 8 garbage collector with Ignition server (windows server 2012 R2 - 32Gb - 32core)

Initial Java Heap Size (in MB)

wrapper.java.initmemory=4096

Maximum Java Heap Size (in MB)

wrapper.java.maxmemory=12288

(the remaining memory part is dedicated to MySQL on the same server)

According my server, upgraded from 7.8.X to 7.9.X and various Java release, I have different settings in ignition.conf :

wrapper.java.additional.1=-XX:+UseConcMarkSweepGC
wrapper.java.additional.2=-XX:+CMSClassUnloadingEnabled

wrapper.java.additional.1=-XX:+UseG1GC

wrapper.java.additional.1=-XX:PermSize=64m
wrapper.java.additional.2=-XX:MaxPermSize=128m
wrapper.java.additional.3=-XX:+UseConcMarkSweepGC
wrapper.java.additional.4=-XX:+CMSClassUnloadingEnabled
wrapper.java.additional.5=-XX:+CMSPermGenSweepingEnabled

:scratch:

This topic might help you. There’s no one right answer on memory settings, but editing ignition.conf is pretty much a requirement after any install or upgrade, and often required after restoring backups where the servers involved are dissimilar.

2 posts were split to a new topic: Troubleshooting clock drift