Chunks not pregenerating?
Hi guys, I am getting this error while trying to pregen chunks using dh's pregen. I have a modpack and am currently online on the server. AMD 9950x 8GB ram, this is the error: [15:56:38] [DH-PriorityTaskPicker Thread[8]/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:698]: at TRANSFORMER/distanthorizons@2.3.4-b/com.seibel.distanthorizons.core.util.threading.PriorityTaskPicker$TrackedRunnable.run(PriorityTaskPicker.java:217)
[15:56:38] [DH-PriorityTaskPicker Thread[8]/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:698]: at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
[15:56:38] [DH-PriorityTaskPicker Thread[8]/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:698]: at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
[15:56:38] [DH-PriorityTaskPicker Thread[8]/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:698]: at java.base/java.lang.Thread.run(Thread.java:1583)
It has been 10 minutes that it is giving me an eta of 8 minutes... What should I do? Thank you very much
45 Replies
I also got this
Have you tried rebooting the server? Also please use https://mclo.gs/ to share the entire log, not just a part of it
mclo.gs - Paste, share & analyse your Minecraft logs
Easily paste your Minecraft logs to share and analyse them.
https://mclo.gs/5rafr7j Here is the entire log, thank you
Have you tried rebooting the server?
Yes, but no change occurred
ETA becomes longer and longer, cps goes down... What can this mean? I have been playing with the settings for the past 3 hours or so

your memory heap is probably trashed
Probably because you already had some chunks/LODs generated and its counting that as "chunks its generating very fast"
And yeah like a said, possibly your RAM is filling up
8gb heap is pretty low
But 315cps is already pretty fast iirc, 3617cps is actually insanely quick and not normal
for vanilla the least
and for modded is pretty useless
dh of course lol
Why would DH be useless for modded?
Or are you saying 8 gigs is useless for modded?
modded height worlds*
8 gigs on the server and can't do more, 10 on the client, don't need more... How can I "untrash" my "memory heap"? Sorry, don't know these terms. Thank you guys very much.
anyway using more than 4 gb on vanilla empty server just for pregenning is pretty insane
dh complains about low heap*
it is a modpack, not an heavy one tho
sorry you can't use dh for anything but serving lods
reducing cpu threads count for dh would probably help
So I cannot pregen with DH on the server? May I know why? Thanks
Will do, thank you
I stopped the pregen because it has stopped pregenerating at 65.7/2048 and the ram is still capped at 7.1 gigs...
using distant horizons is the pain in the most cases
just find another way to serve big distances
chunky pregen + and then enable dh
Whats the modpack? And what are the servers specs?
And 8 gigs should be completely fine, I have an optiplex here that only has 6 gigs allocated with a medium sized modpack that can pregen just fine
It's an online host, AMD 9950x, 8gigs ram ddr5, nvme storage on ssd, the modpack is a "create + tectonic + no man's land"
I am also using c2me
Does no man's land change the world height? I dont see it mentioned on the modpage
Nono, the world height is vanilla
Can you change the java distro on this hosting service? That can improve memory usage significantly
To what should I change it in theory? I have Java 21 installed, don't know if the host permits to change it. I am looking into it
Also fyi, the server is running on an AMD 9950x but most of those server hosts only allocate a part of that CPU to your server, since the CPU is usually split between multiple mc servers.
So you wont have the same performance you'd get on a bare metal AMD 9950x
Thats not a problem, more just if you're confused why you're not seeing the same performance as seen on some benchmarks
just pregen with chunky and see if its totally fine
and then injest with dh
Oh no no I know, it's not a full 9950x, but the performance is absolutely great with everything else
Pregenning with chunky is slower than just using DH to pregen real chunks
I would prefer to pregen with DH
who cares if dh is cooked
its just generate holes from chunky pregen at specific lod resolutions
I can switch Java jdk but not the distro unfortunately
Does the CPS level out after you give it some time?
No, it keeps going down approaching 0
Eventually it stops pregenerating entirely
It slows down to a point where the ETA is infinite
And at that point does it start showing these errors?
Yes, it is at that point that the errors usually occur
It does not differ wheter I put a pregen of 32 chunks or 4096, it ends the same way
Well, I mean, 32 are already generated, but you got the point. The radius change does not make the error disappear
then chunky ticket generation is the way
I will thank you for your suggestion, but I will not use chunky until I am absolutely certain that the DH pregen will not work for my use case. Thank you very much.
have it your way. i am already running 64 chunks full quality on my laptop

This looks more like a mod compatibility issue than a ram or performance issue
Does the log say more concise information regarding this possibility?
a binary search with my modpack would be difficult... I am not an expert in reading logs
Chatgpt told me it is Create the factory must grow trying to generate oil deposits too far, is this the case?
Don't trust chatgpt with minecraft modding things
I would recommend you do a !binary search
Try a binary search and figure out which mod is causing it.
So disable half of the mods, see if issue is still there, if yes disable half again etc etc until you find the mod that's causing the issue.
It would probably be the fastest if you download the server files and do it locally on your pc
Its most likely a mod conflict
You can try disabling it and seeing if it helps, otherwise like skillnoob said a binary search would be best
Its not fun but thats also sadly a part of modding :(