Hello. On macos 10.12.3 patched crashing with such error
java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.lang.OutOfMemoryError: Java heap space
I added key "-Xmx512m" to line 333 (assemble function)
ass_cmd = [DEPS_PATH["java"], "-Xmx512m", "-jar", SCRIPT_DIR+"/tools/smali.jar"]
and now it working.
I have no idea which limit really needed, but when compling java growes to near 200mb (as I seen in top).
---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/44165202-patching-on-macos-failed-outofmemoryerror?utm_campaign=plugin&utm_content=tracker%2F43052892&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F43052892&utm_medium=issues&utm_source=github).
@cleverfox: This problem is tricky because I want to support also PC and devices with less RAM, I need to find a way to do it but probably it will require time.
Hello. On macos 10.12.3 patched crashing with such error java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.lang.OutOfMemoryError: Java heap space
I added key "-Xmx512m" to line 333 (assemble function)
I have no idea which limit really needed, but when compling java growes to near 200mb (as I seen in top).