AMP shows the server using 5405MB of 5120MB of RAM which is wrong, as the server is only using about 2000MB, confirmed trough a command on the server which gives the RAM usage as output. Is this a known bug?
I am using some custom Java arguments for better performance, maybe they cause this? This are the arguments:
-Xms1024M -Xmx{Memory}M -XX:+UseG1GC -Dsun.rmi.dgc.server.gcInterval=2147483646 -XX:+UnlockExperimentalVMOptions -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M -Dfml.readTimeout=180 -jar {JarFile} nogui