I have been having issues with memory consumption increasing over the course of a week, eventually bringing the server to its knees. Looking at the task manager reveals that Zulu Platform x64 Architecture is using more than its allocated 2Gb of RAM; a simple reboot fixes the issue for a week or so. My server has 4Gb of RAM total, with 2GB allocated to Ignition (see .conf file excerpt below).
A few forum posts regarding 7.x say to use the G1C1 garbage collector instead of the default ‘UseConcMarkSweepGC’. Now I’m on 8.6, and the additional parameters section in my ignition.conf file doesn’t show any garbage collector that I have read about, but to be honest I don’t really know what I’m looking at:
# Java Additional Parameters
wrapper.java.additional.1=-Ddata.dir=data
#wrapper.java.additional.2=-Xdebug
#wrapper.java.additional.3=-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=*:8000
# Initial Java Heap Size (in MB)
wrapper.java.initmemory=1024
# Maximum Java Heap Size (in MB)
wrapper.java.maxmemory=2048
I’m thinking I should just add a line with this text? I’m tempted to throw more memory at my server, but it seems to run great for a while. This must be a garbage collection issue?
wrapper.java.additional.1=-XX:+UseG1GC**