Understanding memory usage

Due to the way that Java handles memory usage, there can be a number of different figures you can see relating to how much memory your server is using. This guide aims to help you understand how much memory your server is actually using.

To make this easier, HostHorde has developed a simple plugin to show server utilisation statistics called HostHordeHealth. You can download it here:

http://hosthorde.com/downloads/HostHordeHealth.jar

To install it, check out our guide on installing plugins.

Once in game, you can use it using the command /hhh.

This will show you your server’s memory usage, along with some other statistics:


HostHordeHealth shows your server’s memory usage as 5 different figures:


  • Actual Memory In Use – This is how much memory the server is actually using.
  • Claimed Unused Memory – When a Minecraft server is running, it can claim more memory when it needs more. For example, if a player joins the server, more memory is used to load the area of the world the player is in.  If the player leaves, that part of the world no longer needs to be kept in memory, however Java doesn’t take away the memory that Minecraft claimed; instead it is still allocated to Minecraft however Minecraft is not using it.
  • Total Claimed Memory – This is the total of the actual memory in use and the claimed unused memory. This the figure that Multicraft’s RAM meter shows – this is why Multicraft’s RAM meter may be deceptively high, because Multicraft is not able to tell the difference between actual memory in use and claimed unused memory.
  • Available Unused Memory – This is the amount of memory that is not in use and has not been claimed by Minecraft
  • Total Memory – This is the total amount of memory allocated to the server
  • 1 Users Found This Useful
Was this answer helpful?

Related Articles

Operators

An operator is a player able to use administrative commands on a Minecraft server. Due to the...

Configuring server.properties

All the settings that can be configured for a Minecraft server can be found in the...

Whitelisting

With a whitelist enabled, only users on the whitelist will be able to connect. Designed for use...

Banning players

If you are running these commands from the console, do not include the forward slash. You can...

Making world backups with Multicraft

Multicraft can make regular backups of your entire world save. If anything disastrous happens to...