Running into an issue where the container's RAM usage will increase over time but never decrease as Java executes garbage collection (Image #1). Server will crash (Image #2) and need to be Killed once the RAM cap is reached. Is there a fix for this using JVM arguments or something else?
java -Xms128M -XX:MaxRAMPercentage=85.0 -verbose:gc -Dterminal.jline=false -Dterminal.ansi=true $( [[ ! -f unix_args.txt ]] && printf %s "-jar server.jar" || printf %s "@unix_args.txt" )