Distant Horizons resource usage goes down after time in world?

For some reason when I first join a world I'm generating DH on, my CPU and disk usage are much higher towards the start, and then start to slow down till it's only using 5% of the CPU on I Paid for the Whole CPU, and disk write is only 0.1 MB/s (from 2-3MB/s peak). I got a heap dump from spark and showed it to a modpack developer I'm currently in the Discord VC with and he said to post it here.
No description
Solution:
As of the latest nightly, all issues for me have now been fixed. 👍
Jump to solution
32 Replies
Stephen5311
Stephen5311OP2mo ago
Not entirely sure if what the render thread shows what I described But the dev I'm with did say there was an issue with DH in here. I can screenshare in the VC if needed Forgot to mention, I'm on 1.21.4, 2.3.0b-RC2 and on Fabric and I cannot log out of the world unless I force close in task manager for some reason
Miki_P98
Miki_P982mo ago
Try the nightly though I can't say if anything will change
Stephen5311
Stephen5311OP2mo ago
Where do I download the nightly?
No description
Stephen5311
Stephen5311OP2mo ago
Don't see a "dev" version either Nvm, found it
Miki_P98
Miki_P982mo ago
#links-n-downloads
Stephen5311
Stephen5311OP2mo ago
Now it's also running out of memory, or seems to wants to...
No description
Stephen5311
Stephen5311OP2mo ago
It's giving the warning too in chat, I'm on Balanced/Agressive It seems to be better at using more of the CPU/disk, but still going down to 0.2-0.4% after some time
BackSun
BackSun2mo ago
Update to the latest nightly build, this was fixed yesterday.
Stephen5311
Stephen5311OP2mo ago
I clicked the latest post for 1.21.4...
BackSun
BackSun2mo ago
Reproduction steps? I haven't been able to reproduce this yet. Also for the memory I need a debug option enabled: DH config -> advanced -> debug -> F3 screen -> Show Separated Object Pools = true You may need to disable some of the other options to have enough screen space, but you should see something like this:
No description
Stephen5311
Stephen5311OP2mo ago
No description
Stephen5311
Stephen5311OP2mo ago
No description
Stephen5311
Stephen5311OP2mo ago
These are my LOD settings ^ if needed
Stephen5311
Stephen5311OP2mo ago
No description
BackSun
BackSun2mo ago
What quality preset are you using?
Stephen5311
Stephen5311OP2mo ago
the best 1 (Block) and 7 (Pixel Art)
BackSun
BackSun2mo ago
Well as long as the game isn't crashing from running out of memory that appears to be working as expected. For getting 0% CPU usage how have you reproduced that?
Stephen5311
Stephen5311OP2mo ago
Just by leaving the game open long enough It's not 0, but it hovers around 5% and disk goes down to 0.1-0.2MB/s
BackSun
BackSun2mo ago
Does this happen when generating a new world or only when using a pre-existing world?
Stephen5311
Stephen5311OP2mo ago
Let me try on a fresh world I've been stuck on loading terrain for a minute now... Well, had to force close but it's showing up in my save, logged in fine 2nd try
Stephen5311
Stephen5311OP2mo ago
On agressive
No description
Stephen5311
Stephen5311OP2mo ago
Now time to wait to see if it goes down
Stephen5311
Stephen5311OP2mo ago
No description
Stephen5311
Stephen5311OP2mo ago
Still going strong Yeah works fine, updates the sqlite files in real time too, unlike the custom map save I can save and quit fine as well And merges the sqlites into one file, all unlike the custom map save lol
BackSun
BackSun2mo ago
How long did it take to see CPU usage drop?
Stephen5311
Stephen5311OP2mo ago
4-5 minutes probably I'll leave the fresh world running just incase It is using 124GB of RAM.. Hold on, I logged into the other one maybe?
BackSun
BackSun2mo ago
That's somewhat expected if you're using PIXEL_ART quality.
Stephen5311
Stephen5311OP2mo ago
If you want, I can send you a small test map, or the tool is called Arnis if you want to select a small area and do it yourself
Stephen5311
Stephen5311OP2mo ago
The latest DH RC3 build seems to have fixed the disk from ever going to 0.1MB/s for more than a short time. Shouldn't it still be using more CPU though? and still have to end task to save and quit world (not a big deal, but :shrug: )
No description
Stephen5311
Stephen5311OP2mo ago
Nvm, now it jumped up to 60% CPU So I think mostly good, just can't save and quit world (unless it should take more than 3-4+ minutes)
Solution
Stephen5311
Stephen53112mo ago
As of the latest nightly, all issues for me have now been fixed. 👍

Did you find this page helpful?