1

Out of Memory While Pregenerating?

Ethonodon 2/16/25 7:18 pm
307
3/10/2025 12:28 pm
I'm currently testing pregenerating on my modded 1.18.2 Forge server, and I'm running into an issue where after about an hour or so of pregeneration, the server runs out of memory. Whenever the memory usage reaches an amount that would force the server to crash, my chunk pregenerator mod automatically saves the world, and then closes it to prevent corruption. Something is prompting this to happen and I am trying to figure out what. My assumption is a memory leak, but I have no clue what could be causing it.

Attached is my modpack- are there any mods there that may have a memory leak?

Modpack
https://ibb.co/YTDVsYMY
Posted by
Ethonodon
Level 1 : New Miner
1

  Have something to say?

JoinSign in

2

SrVictor
02/17/2025 11:25 am
Level 1 : New System
Forge servers need a lot of ram
especially when you use a lot of mods
You have several options
use the chunky mod

I would also recommend you use a hosting specialized in Mods, this way you will get better performance and optimizations
I have had my server with 300 mods working well on Layten hosting, it has very good performance and the technical support takes care of everything.
1
_Richtiger_
03/10/2025 12:28 pm
Level 36 : Artisan Architect Artist
If you are self hosting, then get more memory, or if your motherboard has not enough slots than get faster memory
1

Welcome