| skipped 37 lines |
38 | 38 | | |
39 | 39 | | ### Usage |
40 | 40 | | ``` |
41 | | - | jadx[-gui] [options] <input file> (.dex, .apk or .jar) |
| 41 | + | jadx[-gui] [options] <input file> (.dex, .apk, .jar or .class) |
42 | 42 | | options: |
43 | 43 | | -d, --output-dir - output directory |
44 | 44 | | -j, --threads-count - processing threads count |
| skipped 6 lines |
51 | 51 | | jadx -d out classes.dex |
52 | 52 | | ``` |
53 | 53 | | |
| 54 | + | ### Troubleshooting |
| 55 | + | ##### Out of memory error: |
| 56 | + | - Reduce processing threads count (`-j` option) |
| 57 | + | - Increase maximum java heap size: |
| 58 | + | * command line (example for linux): |
| 59 | + | `JAVA_OPTS="-Xmx4G" jadx -j 1 some.apk` |
| 60 | + | * edit 'jadx' script (jadx.bat on Windows) and setup bigger heap size: |
| 61 | + | `DEFAULT_JVM_OPTS="-Xmx2500M"` |
| 62 | + | |
| 63 | + | --------------------------------------- |
54 | 64 | | *Licensed under the Apache 2.0 License* |
55 | 65 | | |
56 | 66 | | *Copyright 2014 by Skylot* |
| skipped 1 lines |