noruzenchi86
noruzenchi86
DHDistant Horizons
Created by noruzenchi86 on 8/28/2024 in #help-me
Specific case performance degradation on a server over time
I think while playing on a server, Distant Horizons is having trouble regenerating LOD meshes. The game eventually starts to chew through memory and garbage collect way more often, although the memory freed never goes higher than the baseline of 6GB on an 8GB instance. Just something odd that seemed to have popped up. When trying to leave the server and rejoin it, the java VM crashed very soon afterward as the log indicates. Using default configuration for Distant Horizons 2.1.2a on the modpack Gregtech New Beginnings 0.3.3 and OpenJDK 17.0.2+8-86 provided by Oracle. My client has a viewdistance of 8 chunks, and the server is hosted on my PC in the background with a viewdistance of 24 chunks. The server has an above normal process priority, so my computer should run server code earlier than my minecraft client. Also if you run a viewdistance lower than the server's, the initial LOD generation for the client will have holes in it. You can get around this by setting your viewdistance to 24 the first time you join the server, then setting it back down to 8 works fine afterward.
46 replies