Server dying with out of memory problem, Data usage scaling with no of scheduler threads added,
Ryzen 7 5800X
4.5 gigs of ram
crashed with 2 threads in config
18 Replies
you put nightly build in the tags, but youre using the plugin
Hmm
i just selected randomly
sorry
James told me to ping jckf
So here i go @Jckf , Help sir !
here is the message link https://discord.com/channels/881614130614767666/1333989035257102426/1334526451545804820
Soory for ping :-:
4.5 gigs for the entire machine, or 4.5 allocated to the Minecraft server?
Spigot, Paper, Folia, or what?
its a vps host
idk how much fo rmachine
for 4 gigs allocated
4.5 actually
@Jckf ok ?
Paper
And 0.8.0 nightly build of plugin I guess?
Yup/
I'd say 4.5 gigs to do a bunch of world generation might just be too little. You can try with a single builder thread, and/or reducing the concurrency limit
If that doesn't help you can also try pregenerating your world with Chunky before generating LODs with DHS
uhh
Like i have got total 16 threads
but i can only use one of em "-"
thats kinda sad
Yeh, one is working though
16 thread and 4 gigs is kinda wonky. Each worker thread will load 16 chunks in order to generate a single LOD. More threads equals more chunks loaded equals more memory needed
Yeh, but at least 2 of those should be able to work in 4 gigs
š¦
How ram hungey is this thing
so i need like 32 gigs to run all 16 threads effectively ?
I typically give my servers between 8 and 16 gigs, and have never had an issue with the default 4 threads
4*2 = 8 so yeh that seems to be good
so we need double ram per worker
K
Lets see
The client side is much less ram hungey isen't it ?
Possibly. The mod is written entirely differently, and does a lot of things "manually" instead of relying on Mincraft itself. For instance; the mod directly interacts with the world files while the plugin goes through the server and asks for data. The mod also does world generation internally while the plugin again simply asks the Minecraft server to generate the world.
Completely different environments and sets of constraints
hmm
thank you anyway, i will test the nightly with fabric on server? do you want any comparision
i can report that if you like ?
Sure, it might be interesting. But I don't intend to fundamental change how the plugin works
Well, i understand,
but just a quick comparision
Isne't the Minecraft logic bit too uhh you know
Not necessarily the most efficient in terms of resource usage or speed, no. But absolutely the most efficient way to implement a working plugin without reinventing the wheel
Understood š
THe fabric one is going grazy
crazy*
i did not change any default settings
but its generating super fast
withoutout crashin ofc