#Pterodactyl memory leak?

25 messages · Page 1 of 1 (latest)

glacial snow
#

Hosting a minecrft server, my ram just keeps going up excessively for seemingly no reason and I can't tell why. The server process itself seems to only be using ~2gb (using spark, a debugger), but the pterodactyl process is using 6gb

#

my server only has 8gb of ram so this is a huge issue for me

#

I'm just standing still where I spawned in an empty world and it's using 6gb of ram

golden urchin
#

java will just gulp down as much memory as you give it. This doesn't seem out of ordinary

glacial snow
#

it goes up to where pterodactyl crashes, server freezes and I need to manually restart my computer

#

The minecraft server is limited to 7gb, the java process is only taking 1.5gb of memory according to Spark, the rest is coming from somewhere else

#

heapdump from spark

golden urchin
#

Try limiting the server itself to 7gb, not just the startup script. Also, check how much memory the host server is using and see if you're assigning too much

#

That's just how java works. It may only be using 1.5gb, but it will hold that full 7gb.

glacial snow
#

I limited the minecraft server to only use 4gb (xms and xmx 4g) yet the ram still goes up past 6gb

#

I'll screw around with ram allocations and see what happens, thank y ou so far

golden urchin
shy beacon
#

What are your startup parameters

mental eagle
mental eagle
#

@glacial snow have you tried this, and has it worked?

glacial snow
glacial snow
#

tbh i should just get some more ram on my server

glacial snow
#

some of the amazon employees might have to pee in bottles to deliver it today, but that is a sacrifice I'm willing to make

shy beacon
#

You are running it on a laptop, interesting

glacial snow
iron basalt
#

If your running it on your own device idk

crimson hamlet