Unpacking Large Apps with JADX-GUI

Sometimes when decompiling large apps with Jadx fails, it probably needs more ram, however if you have installed JADX with brew the command JADX-GUI is just a wrapper shell script to call the acutal jar file.

In order to execute the jadx jar file with 4GB of max ram, we can use the -Xmx4g flag, where 4g means 4GB.

java -Xmx4g -jar /usr/local/Cellar/jadx/0.6.1/libexec/lib/jadx-gui-0.6.1.jar ~/Path/to/application.apk