Server memory usage

I installed the 1.21.4 server plugin, and everything was working fine until I joined with the DH plugin. The memory usage started going up dramatically (I have 8GB of memory allocated) as well as CPU usage, then the server process got killed due to being out of memory. Is this an issue or do I need to allocate more memory/CPU? I've also included a portion of the logs, if you need more let me know
9 Replies
Skillnoob_
Skillnoob_2mo ago
You can lower the cpu preset to use less memory
aindrigo
aindrigoOP2mo ago
not really sure how to do that with the plugin
Puhpine
Puhpine2mo ago
you can change it in the config file
aindrigo
aindrigoOP2mo ago
there's also no /dh command unsure if that is fabric/forge-only and in DHSupport/config.yml I don't see anything about CPU presets, I'm not sure what settings to change to lower the CPU or memory
YAGPDB.xyz
YAGPDB.xyz2mo ago
To edit the config, press the button next to the FOV slider to edit the config. The config file found in .minecraft/config/DistantHorizons.toml
Puhpine
Puhpine2mo ago
correct, the plugin doesnt have it its the last option in the file iirc. its a numbewr
aindrigo
aindrigoOP2mo ago
scheduler threads?
Puhpine
Puhpine2mo ago
i think so yea
Jckf
Jckf2mo ago
Yes, the number of workers is the only option to adjust resource usage. You should be able to run 2 to 4 threads with 8 gigs of RAM though. What other plugins and datapacks are you using? The "could not delete lod" warning is expected. I will be removing it.

Did you find this page helpful?