Problems Migrating from Plugin to Mod

(Server Hosted on G-Portal, Minecraft 1.21.1, Fabric 0.16.14. DH 2.3.4-b) (Other Mods: Simple Voice Chat) Ive switched my server from Paper to Fabric, and while using the Plugin Version of the Serverside support didn't create any problems for me, i just cant get the Mod version to work now. As soon as a player Joins the console just prints [DH-PriorityTaskPicker Thread[48]/WARN]: §6Distant Horizons: Insufficient memory detected.§r followed by the server crashing within seconds. From what ive understood the way to change the Mods settings is via the /dh config command, but i cant use it because the server just crashes as soon as a player joins. its hard to tell for me how to change values to make it better, as the wiki doesnt state default values or if its in blocks/chunks. Or if the server just doesnt have enough memory for the mod version, if its way more demanding than the plugin? https://mclo.gs/PWItEZH latest.log https://mclo.gs/QIDbKHv crash report If theres any other Info you need let me know, im running dry on my own understanding slowly.
Solution:
It doesnt crash anymore on Modrinth (15$/Month package) pregen is running now. (So dont use Gportal if you do, or use the Plugin version if possible)...
Jump to solution
24 Replies
Skillnoob_
Skillnoob_5d ago
The crash is due to minecrafts watchdog stopping the server Minecraft thinks you have 64 cores/threads (not sure what CPUs in the crash report represents), so low impact will use a fairly high number of threads and with 4GB of ram allocated it will crash Is this on a server host?
Helmsby
HelmsbyOP5d ago
Yeah i noticed so too, the toml reads it using 32 cores by default, but ive found no way to change it as the server crashes too fast. Yes on Gportal as stated. i also cant find a way to change the startup arguments of the server (if it could be this`?https://discord.com/channels/881614130614767666/1035937626944962641/1351505656020074506) Just trying to figure out if theres a way to fix it for me or if i have to contact their support no matter what.
Skillnoob_
Skillnoob_5d ago
The option is called numberOfThreads under common.multiThreading in the DistantHorizons.toml
Helmsby
HelmsbyOP5d ago
ok then ive found the correct thing already
No description
Skillnoob_
Skillnoob_5d ago
If the server only has 4GB of ram you should probably set that to 2 at most It seems gportal has their server somehow setup wrong so that they let mc see all 64 threads
Helmsby
HelmsbyOP5d ago
Ok i will try that for now. ive just checked the old plugin settings yml and it uses 2 by default
Skillnoob_
Skillnoob_5d ago
yeah the plugin uses a lot less since its limited by mc vanilla generation someone had the same issue before, idk if it was gportal or another hosting provider
Helmsby
HelmsbyOP5d ago
Yeah i tried to search for all kinds of keywords i found something that sounded similar with another gportal user but it wasnt quite the same
Skillnoob_
Skillnoob_5d ago
https://discord.com/channels/881614130614767666/1385606032041967788 ah yeah it is i guess gportal has their setup wrong lol
Helmsby
HelmsbyOP5d ago
Yeah i wish i could host locally but i just cant rn.. so im stuck with the providers and their webinterfaces i love so much x.x
Skillnoob_
Skillnoob_5d ago
modrinth is a pretty good hosting provider
Helmsby
HelmsbyOP5d ago
doesnt seem to really be available yet here
No description
Helmsby
HelmsbyOP5d ago
(im german) also is priced more than double x.x
Skillnoob_
Skillnoob_5d ago
UK still has good ping with the same hardware config?
Helmsby
HelmsbyOP5d ago
yes with the same config its +112% and longer billing cycles ill just try to fix it on gportal for now if it doesnt work ill switch anyway
Skillnoob_
Skillnoob_5d ago
idk they don't say anywhere how many cores you get
Helmsby
HelmsbyOP5d ago
Yeah but i doubt its just 1, i never had any TPS spikes with 5+ players running voice chat, dynmap and dh
Skillnoob_
Skillnoob_5d ago
they use Xeon cpus apparently but how many threads each tier gets is not shared anywhere
Helmsby
HelmsbyOP5d ago
hmm it still crashes with 2. but a lot later Took a whole minute
Skillnoob_
Skillnoob_5d ago
the watchdog timeout is a minute
Helmsby
HelmsbyOP5d ago
hmm it crashed a lot faster before So i guess i have to switch to a different host...
Skillnoob_
Skillnoob_5d ago
You could also use e4mc or worldhost
Helmsby
HelmsbyOP5d ago
oh i dont want to host it on my pc. i need a dedicated one
Solution
Helmsby
Helmsby4d ago
It doesnt crash anymore on Modrinth (15$/Month package) pregen is running now. (So dont use Gportal if you do, or use the Plugin version if possible)

Did you find this page helpful?