Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
J
jadx
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
open-source
jadx
Commits
7e9278f9
Commit
7e9278f9
authored
Aug 15, 2014
by
Skylot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
don't hardcode maximum Java heap size
parent
9194441c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
21 deletions
+11
-21
README.md
README.md
+11
-1
build.gradle
jadx-cli/build.gradle
+0
-10
build.gradle
jadx-gui/build.gradle
+0
-10
No files found.
README.md
View file @
7e9278f9
...
...
@@ -38,7 +38,7 @@ Run **jadx** on itself:
### Usage
```
jadx[-gui] [options] <input file> (.dex, .apk
or .jar
)
jadx[-gui] [options] <input file> (.dex, .apk
, .jar or .class
)
options:
-d, --output-dir - output directory
-j, --threads-count - processing threads count
...
...
@@ -51,6 +51,16 @@ Example:
jadx -d out classes.dex
```
### Troubleshooting
##### Out of memory error:
-
Reduce processing threads count (
`-j`
option)
-
Increase maximum java heap size:
*
command line (example for linux):
`JAVA_OPTS="-Xmx4G" jadx -j 1 some.apk`
*
edit 'jadx' script (jadx.bat on Windows) and setup bigger heap size:
`DEFAULT_JVM_OPTS="-Xmx2500M"`
---------------------------------------
*Licensed under the Apache 2.0 License*
*Copyright 2014 by Skylot*
jadx-cli/build.gradle
View file @
7e9278f9
...
...
@@ -9,16 +9,6 @@ dependencies {
compile
'ch.qos.logback:logback-classic:1.1.2'
}
startScripts
{
doLast
{
// increase default max heap size
String
var
=
'DEFAULT_JVM_OPTS='
String
args
=
'-Xmx1300M'
unixScript
.
text
=
unixScript
.
text
.
replace
(
var
+
'""'
,
var
+
'"'
+
args
+
'"'
)
windowsScript
.
text
=
windowsScript
.
text
.
replace
(
var
,
var
+
args
)
}
}
applicationDistribution
.
with
{
into
(
''
)
{
from
'../.'
...
...
jadx-gui/build.gradle
View file @
7e9278f9
...
...
@@ -8,16 +8,6 @@ dependencies {
compile
'com.fifesoft:rsyntaxtextarea:2.5.0'
}
startScripts
{
doLast
{
// increase default max heap size
String
var
=
'DEFAULT_JVM_OPTS='
String
args
=
'-Xmx1300M'
unixScript
.
text
=
unixScript
.
text
.
replace
(
var
+
'""'
,
var
+
'"'
+
args
+
'"'
)
windowsScript
.
text
=
windowsScript
.
text
.
replace
(
var
,
var
+
args
)
}
}
applicationDistribution
.
with
{
into
(
''
)
{
from
'../'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment