Podshot / MCEdit-Unified

Combined MCEdit & Pymclevel repository.
http://podshot.github.io/MCEdit-Unified/
ISC License
484 stars 109 forks source link

Out of Memory error with Chunk View on "large" worlds #885

Open abrightmoore opened 6 years ago

abrightmoore commented 6 years ago

Steps to Reproduce Pre-generate chunks for a world 640 x 6000 blocks. Switch to Chunk View. Wait for rendering to complete. Memory usage exceeds allocations in MCEdit options and Windows reports low memory.

MCEdit Version Number All up to and including v1.6.0.13

Minecraft Version Number Up to v1.12 Also shown with PE 1.11 to 1.26

Operating System Version Windows 10

Error log Error is out of memory dialog in Windows with prompt to shut down applications or risk system instability. If ignored, system performance degraded and unreliable. If accepted, MCEdit closes.

allamassal commented 6 years ago

This happens because as it loads more chunks, more data is stored in memory, and for a 640 by 6000 world, there are... now hold your breath ... 15000 chunks! The memory usage depends on whether there are blocks in them, the more blocks there are in the chunks, the more memory will be used.

Benchwork commented 6 years ago

about how much memory is used per fully loaded chunk use? I would like to calculate how large of an area to export at a time.

juliankay commented 6 years ago

Same issue here, my world isn't that large but I wanted to use MCEdit to delete some of the unused chunks out in the distance. I can't even see them as the application crashes.

juliankay commented 6 years ago

Switching to the 64-bit version of Python helped for me.