xtiankisutsa / MARA_Framework

MARA is a Mobile Application Reverse engineering and Analysis Framework. It is a toolkit that puts together commonly used mobile application reverse engineering and analysis tools to assist in testing mobile applications against the OWASP mobile security threats.
http://www.shadowinfosec.io
GNU Lesser General Public License v3.0
630 stars 175 forks source link

Exception in thread "pool-1-thread-1" java.lang.OutOfMemoryError: Java heap space #3

Closed daoduythuan closed 7 years ago

daoduythuan commented 7 years ago

When decompile .apk to java source code I have exception like that and more: Exception in thread "pool-1-thread-1" java.lang.OutOfMemoryError: Java heap space at jadx.core.codegen.CodeWriter.add(CodeWriter.java:109) at jadx.core.codegen.ClassGen.makeClass(ClassGen.java:104) at jadx.core.codegen.CodeGen.visit(CodeGen.java:19) at jadx.core.ProcessClass.process(ProcessClass.java:43) at jadx.api.JadxDecompiler.processClass(JadxDecompiler.java:281) at jadx.api.JavaClass.decompile(JavaClass.java:59) at jadx.api.JadxDecompiler$1.run(JadxDecompiler.java:161) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745)

xtiankisutsa commented 7 years ago

This seems like a java heap space issue usually due to lack of enough memory. Run this on the terminal. It should fix it.