Forums Archived

This forum has been archived. No new posts can be made and no new users can sign up. It remains here for reference only.

Find the new forums here

Minecraft Java Edition shows wrong RAM usage

  • 505 Views
  • Last Post 24 January 2020
Tomson124 posted this 16 January 2020

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

Order By: Standard | Newest | Votes
Mike posted this 16 January 2020

AMP asks the OS what the memory usage is. What does Task Manager/htop show?

Tomson124 posted this 17 January 2020

This is odd... today it is working fine. Showing 4.2GB of 6.1GB used. Which is the same which the ingame command shows and htop shows. Don't know what the problem was yesterday as the application should not have been able to use more RAM than allocated or am I missing something?

TNTUP posted this 24 January 2020

@tomson124 see here: github com/CubeCoders/AMP/issues/185

I've reported the same behiavour and ticket got closed.

Close