Force disable server-side LOD generation

I'm pre-generating a world with Chunky on a server with 6GB of memory allocated. Despite setting /dh config generation.enable false the LODs still generate and it's clearly seen by the DB inflating:
$ du -sh DistantHorizons.sqlite*
455M DistantHorizons.sqlite # the size grows constantly
32K DistantHorizons.sqlite-shm
4.6M DistantHorizons.sqlite-wal
$ du -sh DistantHorizons.sqlite*
455M DistantHorizons.sqlite # the size grows constantly
32K DistantHorizons.sqlite-shm
4.6M DistantHorizons.sqlite-wal
I receive Distant Horizons: Insufficient memory detected warnings and eventually the server will crash with an exception from DH generation queue. I wonder if there is a way to forcefully disable server-side LOD generation for a stable worldgen? Or should I use /dh pregen for both LOD- and world- generation?
Solution:
Oh, found it on the wiki, it's /dh config generation.mode INTERNAL_SERVER
Jump to solution
9 Replies
Miki_P98
Miki_P982mo ago
Remove DH mod jar when chunky is running No other way Though just don't use Chunky Using DH to pregen is: 1. faster (if you want LODs too) and 2. does not have any problems with DH If you want DH pregen to save vanilla chunks, set the distant generation mode to Internal Server (And add C2ME if you din't have it to not make it super slow)
Skyler
Skyler2mo ago
@Miki_P98 how do i use DH to pregen
Puhpine
Puhpine2mo ago
/dh pregen overworld 0 0 128
SHISHKI
SHISHKIOP2mo ago
What key stands for internal server generation mode? /dh config generation.mode <???>
Solution
SHISHKI
SHISHKI2mo ago
Oh, found it on the wiki, it's /dh config generation.mode INTERNAL_SERVER
Skyler
Skyler2mo ago
aint a command for some reason /dh isnt even a command
Puhpine
Puhpine2mo ago
Are you using the plugin? Because the plugin doesn't have commands yet
Skyler
Skyler2mo ago
no the mod
Puhpine
Puhpine2mo ago
And you use dh 2.3.0 from modrinth (or curseforge) on both the client and server?

Did you find this page helpful?