I've attempted to pregenerate a world using the WorldBorder forge mod on my server. If the border is particularly big however, when i use the /fill command, it would fill up all of my memory within an hour, regularly pausing the fill process until the memory is cleared about 5-10 minutes later before pausing again 15 minutes later. The save interval i've used is between 25 and 50 seconds, in a hope that it would clear the memory after each save, but it doesn't. I've allocated about 10 GB of RAM to my server, with no avail to this problem. After pausing the fill and then closing down the server, it takes a very long time to unload those chunks before the server can safely be closed, without any chunk errors. Would allocating even more RAM actually fix this problem long term? Or could it be something wrong with my mod or server config?