-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Troubleshooting Q&A
Jan S edited this page Mar 15, 2019
·
10 revisions
Possible options when Jadx is running out of RAM:
- Reduce processing threads count (
-j
option in CLI) - Before starting the decompilation open in Jadx the Preferences dialog (menu File). Open the Excluded packages editor and add packages you want to exclude from decompiling. The more classes you exclude the more you save.
- Common packages you can exclude:
android.support
android.arch
- Common packages you can exclude:
- Assign more RAM (e.g. 6GB) to Jadx:
- command line (example for Linux):
JAVA_OPTS="-Xmx6g" jadx -j 1 some.apk
- edit 'jadx' script (jadx.bat on Windows) and set bigger heap size:
DEFAULT_JVM_OPTS="-Xmx6g"
- If you are on Windows and using
jadx-gui.exe
create a text-filejadx-gui.l4j.ini
in the same directoryjadx-gui.exe
is located in. Edit the text file and set it's content to-Xmx6g
.
- command line (example for Linux):