HiveGamesOSS / Chunker

Convert Minecraft worlds between Java Edition and Bedrock Edition
https://oss.chunker.app/
MIT License
260 stars 11 forks source link

Chunker not allocating all available memory when used through the GUI #125

Open Electronik21 opened 3 days ago

Electronik21 commented 3 days ago

Chunker Version

1.3.1-main-b157b5c

Input World Version

Java 1.18.2

Output World Version

Bedrock 1.18.30

Platform / Operating System

win32-x64-10.0.19045

Issue Description

Error Chunker Displayed: Your system ran out of memory while converting, please try again, use a smaller world or try a different machine.

I have a ~1.8GB world I'm trying to convert, but it always says I'm "out of memory" before it even starts. My system has 16GB of memory and whenever it fails it's only using about 4GB, and my pc has plenty left over.

FormallyMyles commented 3 days ago

If you're able to provide the following so we can look further into the issue:

Electronik21 commented 2 days ago

main.log Btw trying the CLI gave the same error as in the log, but I got it to work by using the -Xmx8G flag. Maybe add an option for custom flags in the gui?

FormallyMyles commented 2 days ago

Definitely odd that it didn't decide to allocate enough RAM but we'll definitely take a look further into this, thanks!