What might cause the "§6Distant Horizons: Insufficient memory detected.§r " issue? (Fabric Server)

Specs of server: CPU - 350% CPU Ryzen 5800X @ 3.8GHz Up to 5.00GHz RAM - 6GB DDR4 RAM Storage - 45 GB NVME SSD DH CPU Preset: Balanced DH Quality Preset: Balanced (I recommend my players to use balanced, and if there is an option on the server-side I have/did not touch it) Startup flags:
java -Xms5120M -Xmx5120M -XX:MaxRAMPercentage=95.0 -XX:+UnlockExperimentalVMOptions -XX:+UnlockDiagnosticVMOptions -XX:+AlwaysActAsServerClassMachine -XX:+AlwaysPreTouch -XX:+DisableExplicitGC -XX:+UseNUMA -XX:NmethodSweepActivity=1 -XX:ReservedCodeCacheSize=400M -XX:NonNMethodCodeHeapSize=12M -XX:ProfiledCodeHeapSize=194M -XX:NonProfiledCodeHeapSize=194M -XX:-DontCompileHugeMethods -XX:MaxNodeLimit=240000 -XX:NodeLimitFudgeFactor=8000 -XX:+UseVectorCmov -XX:+PerfDisableSharedMem -XX:+UseFastUnorderedTimeStamps -XX:+UseCriticalJavaThreadPriority -XX:ThreadPriorityPolicy=1 -XX:+UseZGC -XX:AllocatePrefetchStyle=1 -XX:-ZProactive -jar server.jar nogui
7 Replies
Samalando (ping on please)
You have conflicting args and most of those to placebo improvements
𝐋𝐮𝐝𝐲
𝐋𝐮𝐝𝐲OP6d ago
Ah I see, I just grabbed those from the recommended page for startups Can you recommend any? I'm unfamiliar in creating flags for optimization Or recommend whaat to change/remove from tthere? for startups in DH docs
YAGPDB.xyz
YAGPDB.xyz6d ago
Every system is different, so while we can't say exactly what will work best for you, here area few suggestions: GPU - For integrated and low end laptop GPU's - Start with a DH render distance of about 64 - You may need to drop the vertical and horizontal quality settings - For mid to low end desktop GPU's - The default settings should be a good starting point CPU - Less than 4 Cores - Disable the world generator - Drop the thread config to 1 thread for each option - DH render distance shouldn't affect CPU load - 6-8 Cores - The default settings should be a good starting point If you need additional help tweaking performance, the FAQ has additional tips and tricks, or you can create a thread in #help-me if you have a specific issue.
Puhpine
Puhpine6d ago
6gb is not a lot. It might work fine if you've pregenned, but if you didn't do that, it'll work poorly. So I recommend pregenning, si that the server is not constantly running world gen
𝐋𝐮𝐝𝐲
𝐋𝐮𝐝𝐲OP6d ago
I have pre genned for about 700 chunks already Using chunky and the built in pre gen tool 10k radius chunky and from my previous post, I pregenned about 10k chunks and realized it was overkill, and stopped it at around 700 chunks closed off the world too in a 10kx10k border
Puhpine
Puhpine5d ago
try turning off distant generation, see if that works

Did you find this page helpful?