MCEdit-Unified icon indicating copy to clipboard operation
MCEdit-Unified copied to clipboard

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

Open abrightmoore opened this issue 6 years ago • 4 comments

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.

abrightmoore avatar Dec 26 '17 21:12 abrightmoore

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.

allamassal avatar Dec 27 '17 01:12 allamassal

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.

Benchwork avatar Mar 04 '18 02:03 Benchwork

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 avatar Mar 20 '18 21:03 juliankay

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

juliankay avatar Mar 20 '18 21:03 juliankay