ata4 / disunity

An experimental toolset for Unity asset and asset bundle files.
The Unlicense
2.7k stars 663 forks source link

[error] DisUnityCli: Fatal error, caused by java.lang.OutOfMemoryError: Java heap space #131

Open Triple3T opened 9 years ago

Triple3T commented 9 years ago

tmp How can I extract without this error? It just stop with "java.lang.OutOfMemoryError: Java heap space" error, and I guess its maximum memory size is 128m(if memory reaches 128m, it stops) . What should I do? (It worked well before I format and reinstall Windows...)

ghost commented 9 years ago

The file "disunity.bat" should be changed (in a text editor) to the following:

@echo off java -Xmx512m -jar "%~dp0\disunity.jar" %*

You can change the 512 to 1024 if you want. Hope this helps!

KivotosAA commented 9 years ago

Same problem. And it work until I set to Xmx8192m. HaHa, thanx

ghost commented 9 years ago

np :)

On Wed, Aug 12, 2015 at 6:00 AM, Ancestor notifications@github.com wrote:

Same problem. And it work until I set to Xmx8192m. HaHa, thanx

— Reply to this email directly or view it on GitHub https://github.com/ata4/disunity/issues/131#issuecomment-130243802.