Andreas shrieks of confusion
Andreas shrieks of confusion
DHDistant Horizons
Created by Andreas shrieks of confusion on 9/6/2024 in #bug-report
Superflat world with very tall layers cause OutOfMemoryError on world rendering
Originally reported in the help-me channel. I was testing out a few changes to my world's data pack. That consisted of increasing the height 512 blocks further down, and adding a new flat world generation overriding the old layers specified when creating the world a decade ago. Before I started, I copied the world as a backup. Every time I made a change, I deleted the world after loading it in, and pasted in the backup, but with the data pack changes. The backup had the DH SQLite database deleted. The last change I made, was changing the second layer, stone, from a height (tallness, not offset) of 1 block to 255 blocks. When I started the game and loaded in the world, it stalled. I did not entirely freeze or deadlock, but continued running. It was reporting lots of errors in the chat and log. See the endlessly long log file generated from this (5 MB; it may have been cut off; I originally stored the text content on the clipboard for uploading here). It contains many errors, such as array indices out of bounds, so it's definitely an issue past insufficient hardware resources. --- After a while, I set the CPU load to "minimal impact". The client was running fine after that, however, I was getting the "DH overloaded" message in the chat, repeatedly. I am not sure if the internal server was running as expected. Even with minimal impact, the game was then stalling when I moved a few chunks away. That was not the case before. I did not pressure it so much with generating new chunks so filled, in the past, though. After this stall, while writing the first post, the game stopped responding completely. Then the framebuffer blacked out. I Could move the window and close it with the titlebar button, which I eventually did. More follows in subsequent posts (max letter limit in this one).
18 replies
DHDistant Horizons
Created by Andreas shrieks of confusion on 9/6/2024 in #help-me
Superflat world with very tall layers cause OutOfMemoryError on world rendering
I was testing out a few changes to my world's data pack. That consisted of increasing the height 512 blocks further down, and adding a new flat world generation overriding the old layers specified when creating the world a decade ago. Every time I made a change, I deleted the world, and pasted in a backup, additionally including the data pack changes. The last change I made, was changing the second layer, stone, from a height (tallness, not offset) of 1 block to 255 blocks. When I started the game and loaded in the world, it pretty much froze. Not exactly. It's running. But very slowly. And uselessly. And spewing lots of errors. See the endlessly long log file generated from this...
27 replies