Earthcomputer / EnchantmentCracker

Cracking the XP seed in Minecraft and choosing your enchantments
MIT License
1.04k stars 91 forks source link

java.lang.OutOfMemoryError: Java heap space (happened twice in a row both after calculating the first set of results for the second enchantment seed) #106

Closed M333r closed 5 years ago

M333r commented 5 years ago

enchcracker.log

Earthcomputer commented 5 years ago

I acknowledge this is an issue. To reduce memory input though, always start both xp seeds with a 15 bookshelf input. I can see from the log you started the second one with 10.

M333r commented 5 years ago

Ah okay, I still got it to work because I just copied the first seed right as it was about to crash, but thanks

Blaubeermuffin commented 5 years ago

I got the OutOfMemoryError already with the first calculation with 15 bookshelves... It worked fine yesterday, when I downloaded and used the enchcracker the first time, but today's another story. enchcracker.log

MCRcortex commented 5 years ago

Have you tried closing open applications before running the cracker?

Earthcomputer commented 5 years ago

I don't know what to do about these out of memory issues, because if I increase the default amount of memory available to the cracker, people instead complain that they can't launch it in the first place. You need to give it enough memory. The amount of memory it really needs is more than you might think (2+ gb). Edit the batch script to increase the amount of memory.

Earthcomputer commented 5 years ago

I think release 1.4.5 is as good as we're going to get with this memory problem for now.