mojira.dev

I've noticed the last two days that the minecraft server uses a lot of memory. I tested this by fully rebooting my server. After 5 hours of uptime with 10 players online, I encountered serious issues:
http://i4.minus.com/iyHGeTgrmQRQ3.png
after stopping the minecraft server, this happens:
http://i6.minus.com/ibjEuNlb8u9AG6.png

Note that when the first screenshot was taken (with more than 80% mem usage) the minecraft server was totally empty, 0 players online.

I don't know if this is a known issue, if it's a java problem or minecraft related.

Comments 4

Just to avoid confusion: the user I run my server with is called bukkit, but this was the mojang 13w07a snapshot server used.

What you are seeing is the memory allocated to the JVM and not the memory used my minecraft. Since you've started the JVM with -Xmx2G -Xms2G, the result is absolutely expectable.

Help on debugging here http://www.oracle.com/technetwork/java/javase/memorymanagement-whitepaper-150215.pdf

not true. htop shows me the amount of RAM actually used, check this screnshot:
http://i5.minus.com/iY47CO4rZKUNX.png

this is 2gigs allocated, only 700megs used.

Absolute true after 1 minute run time. Garbage collection didn't start yet...

Zipron Brendt

(Unassigned)

Unconfirmed

leak, memory

Snapshot 13w07a

Retrieved