AMP ver: 1.6.0 & Nightly builds
Issue: I've been having issues with AMP's management of the JVM settings. Since upgrading to 1.6.0, I've noticed that my custom JVM arguments are not being saved properly. It appears that when setting the JVM arguments either through the web portal or in the MinecraftModule.kvp file, AMP does not include a necessary space at the end of the arguments. I can work around this by manually adding a space and starting the server; however, this negates any unattended use of AMP. I've also found that the Nightly build is affected by this as well.
Additionally, when I use the following arguments, AMP will not start the server since Java throws a conflicting collector arguments error.
-Xms1g -Xmx4g -XX:MetaspaceSize=128m -XX:MaxMetaspaceSize=348m -XX:+UseG1GC -Dsun.rmi.dgc.server.gcInterval=2147483646 -XX:+UnlockExperimentalVMOptions -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32
Which leads me to believe that AMP is pre-loading some arguments elsewhere; however, I have not been able to identify where those arguments are being read from. I've modified the FTB ServerStart.sh file (since I'm on linux) and, just in case, I've even modified the ServerStart.bat file. Both changes did not affect AMP's hidden arguments. The MinecraftModule.kvp file also has the same line; but -XX:+UseParNewGC still seems to find its way, despite that I've removed any reference from the usual places.
Beyond the files that I listed (MinecraftModule.kvp & ServerStart.sh), are there any other locations where AMP reads in JVM arguments?