#Poor server performance (Spark results question)
17 messages · Page 1 of 1 (latest)
Changing the launcher parameters doesn't seem to help or do much
Java process taking up 4.5GB
max memory increases from min to max as it runs out and cant free any up
you can set min and max to the same value to make it allocate all of the ram initially
Hmm. Am I not reading it correctly? I have it set at 8GB max, why does the max show as 3.5GB in Spark?
What is recommended? Can I just put the min and max at 12GB? Or more?
min is the ram it allocates when it starts
when it runs out of ram and has to garbage collect, it tries to clear from the used ram. if it cant clear below a threshold, it allocates more ram.
max is the maximum ram that it is allowed to allocate for heap. so min is the starting, max is the "dont go higher than this for Heap allocations"
if you set both to the same value, then it allocates the value (min) and does not try to allcate more (max)
I see. Are there any recommendations when it comes to other settings?
I'll just start with 12GB and see how it goes for the memory.
https://github.com/brucethemoose/Minecraft-Performance-Flags-Benchmarks/blob/main/README.md you can take a look here.
additionally mods like servercore at lower defaults can help. combined with clientside mods like DH or farsight can help players not feel so much like the render/simulation distance is low
Awesome, will give it a look. Thanks for the quick responses and explanations!
Above 5 people we still experience issues. But dont know if anything here can be improved :/ Mobticks seem very expensive(?)
The memory issues are fixed though!
Unfortunately i haven't managed to make any progress regarding this.
If anyone has any idea what to look at or things i could try still, it's much appreciated.
Of Lingaurdium’s suggestions, which have you tried?
I've tried launching the server using the server flags https://github.com/brucethemoose/Minecraft-Performance-Flags-Benchmarks/blob/main/README.md#server-g1gc
Going to do some more testing, after having read https://joshbedwell.com/blog/modded-mc-jvm/ Will report back with my results. Tips are always welcome!
Adoptium without any GC seems to be an improvement when it comes to TPS, but we're not there yet.
Still, mobs and other entities seem to use more resources than they should
Just checking... what Craftoria version is this? That lambda function taking up a large part of the time is vaguely reminding me of an older issue.