Recent Discussions

Diagnosing high memory usage

Open in Discord
Unanswered
Dominic posted this in #questions
72 messages
0 views
https://spark.lucko.me/9ZtCO0nczS

Server seems to be using a lot of ram, and even using up some SWAP space. Grafana dashboard attached. There is a small drop in ram usage when players join, but an increase in swap.

Server: 1.21 Fabric, loader version 0.16.9
2 players online

No abnormalities in logs (I'll provide it anyways): https://mclo.gs/i6CoZBf

Thanks in advance for any help.
*when players (both of us) joined
image.png
image.png
How are you hosting this?
Virtualized
on a paid host or at home or...?
ye self hosted
via pve
@Dominic via pve
what is pve?
proxmox ve
AH
okay
are you using ptero?
@PM_ME_YOUR_REPO are you using ptero?
nope

Grafana shows the server hovers at around 5.3gb when idling
image.png
with nobody on*
you can do a heapdump with spark
then read the heapdump to find what exactly is causing ram inflations
so just raw java on Ubuntu in a proxmox VM?
sheesh.
lemme dump it
gathering info
:rooPopcorn:
:fuckyounicorn:
❤️
Loading...