A
Admincraftโ€ข3w ago
Josephlik

Garbage collection

i dont think my servers garbage collection is working, any ideas why? my ram usage keeps going up and up before the server crashes it crashes every 30 minutes or so
7 Replies
Josephlik
JosephlikOPโ€ข3w ago
ping me if you could help please thanks
Deathpacito
Deathpacitoโ€ข3w ago
Please post more information such as spark reports, I don't know the exact commands for GC focus but maybe someone else will.
Alex
Alexโ€ข3w ago
It is almost impossible that the GC is does not work at all. There may be a memory leak in a plugin somewhere or you set some weird java flags
Josephlik
JosephlikOPโ€ข3w ago
Actually I think someone told me I needed more ram I upgraded 5gb to 8 and itโ€™s working fine so far Iโ€™ll let yk if it happens again
Lunaiskey
Lunaiskeyโ€ข3w ago
are you using a host? alot server hosts use pterodactyl now, which if you allocated all your ram to your minecraft server in its startup flags can cause out of memory errors. which can be fixed by simply changing your server flags to use 0.5-1gb less then you have access to
Josephlik
JosephlikOPโ€ข3w ago
Yeah Iโ€™m using sparked host

Did you find this page helpful?