
Memory on WebInterface differs from /spark health Command
StaticFX opened this issue ยท 1 comments
Description
Hello,
using spark 1.10.42-forge i see the following issue. On the webinterface i get the info, that my server has 6,3GB of ram (process). I set the server to use 12GB of ram using the -Xmx12G flag. Using the /spark health command i also get this behaviour.


Reproduction Steps
- Set server Ram to 12G
- Open spark profiler using the command
- Compare memory values to /spark health
Expected Behaviour
Both memory values should be the same
Platform Information
- Minecraft Version: 1.20.1
- Platform Type: Server
- Platform Brand: Forge
- Platform Version: 47.3.0
Spark Version
1.10.42
Logs and Configs
No response
Extra Details
No response
Both numbers are "correct" in their way. As you noticed, the /spark health
command shows a diagram of how large the heap currently is and how large it is allowed to get. What it doesn't show as your console doesn't show colors: One of the bars is colored differently, marking the committed heap space. As an example, see the red bar here:
This bar is what's shown as the upper (process) memory value in the web viewer. If you switch to the memory tab, you can also see this in more detail:
I think showing the committed memory is more useful in the overview.