Distant Horizons are unable to allocate bytes.

Distant Horizons crashes regularly with the latest nightly build for Quilt 1.20.1 as it's unable to allocate bytes.
[23:54:12] [DH-Buffer Uploader Thread[0]/ERROR]: LodNodeBufferBuilder was unable to upload buffer: Unable to allocate [x] bytes
[23:54:12] [DH-Buffer Uploader Thread[0]/ERROR]: LodNodeBufferBuilder was unable to upload buffer: Unable to allocate [x] bytes
Distant Horizons [2.0.4-a-dev]
Mod Menu [7.2.2]
Quilted Fabric API [7.5.0+0.91.0-1.20.1]
Distant Horizons [2.0.4-a-dev]
Mod Menu [7.2.2]
Quilted Fabric API [7.5.0+0.91.0-1.20.1]
Solved! Thank you, hardester.
Solution:
Should Just Work™️.
Jump to solution
18 Replies
ken
kenOP8mo ago
I first thought it might be mod incompatibility, so I removed every other mod, but even with only Distant Horizons, QFAPI, and the Mod Menu, it still crashes with the same error.
hardester
hardester8mo ago
Haven't tried Quilt but, does Distant Horizons need QFAPI to work on it?
ken
kenOP8mo ago
Does Distant Horizons need the Fabric API?
hardester
hardester8mo ago
Likely? I mean almost every Fabric mods in existence needs Fabric API. Anyways, based on the game logs, somehow Distant Horizons fails to allocated 1 MB of memory, which doesn't sound correct.
ken
kenOP8mo ago
Then it needs the QFAPI for Quilt instances, as Quilt is a fork of Fabric. I haven't met this problem until using the nightly build on my Windows boot, not on Fedora or on a stable release. I have the default settings for all three mods and the Java instance, including the default value for allocated memory.
ken
kenOP8mo ago
New lead. It's not Minecraft, but after installing Borderlands 3, it gave the same error.
No description
hardester
hardester8mo ago
I highly recommend running memtest by that point.
ken
kenOP8mo ago
I looked into it and this might be the reason.
No description
hardester
hardester8mo ago
:waaaaaa: Why?!
ken
kenOP8mo ago
I believe it was when I tried to shrink a part of my C:\ drive for my Fedora installation, I guess I forgot to set it back.
hardester
hardester8mo ago
Fair enough.
ken
kenOP8mo ago
Would the automatic setting work?
No description
Solution
hardester
hardester8mo ago
Should Just Work™️.
ken
kenOP8mo ago
Would I need to reboot my system?
hardester
hardester8mo ago
Of course.
ken
kenOP8mo ago
This might be why CS2 was also not working even after reinstalling. 😓
hardester
hardester8mo ago
By the way, you would absolutely need a use-case for needing to fine tune the page size, one of them is needing large memory buffer for loading up LLM of some sort and you don't have enough system memory for that.
ken
kenOP8mo ago
Back from a reboot. Should I go ahead and try Minecraft and Borderlands 3? Or do I need to configure something else first? Good news. Minecraft worked. Let me let Epic finish re-verifying BL3 and I'll try it out too. Both work! Thank you.
Want results from more Discord servers?
Add your server