jmc2obj / j-mc-2-obj

Java-based Minecraft-to-OBJ exporter.
http://www.jmc2obj.net
359 stars 59 forks source link

jmc2obj 113 using more memory then 112 #168

Closed StandingPadAnimations closed 3 years ago

StandingPadAnimations commented 3 years ago

So I've noticed that jmc2obj 113 uses more memory then 112. Even with the same world, what would have been fine to export with 112, would be a nightmare to export with 113(memory errors galore).

mmdanggg2 commented 3 years ago

Yes it does use more memory, I will try and look for optimisations that will make this not use as much. One thing you can try is tell it to use less threads to export, this will mean less chunks are loaded at the same time. You should also make sure you are using a 64 bit version of java so it is able to use more than 4GB of memory.

StandingPadAnimations commented 3 years ago

According to my Java runtime settings, it's using x86 architecture image

StandingPadAnimations commented 3 years ago

Actually, setting it to 2 threads seems to do the trick

mmdanggg2 commented 3 years ago

Just released 114, should need around 20% less memory now.