forked from mozilla/gecko-dev
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1727438 - Increase java max heap to 16G. r=nalexander
Looks like 6G is not enough for an ASAN build when updating the gradle version. I tried 8G on try but that's not enough either. Differential Revision: https://phabricator.services.mozilla.com/D123970
- Loading branch information
Showing
7 changed files
with
11 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
org.gradle.parallel=true | ||
org.gradle.daemon=true | ||
org.gradle.jvmargs=-Xmx6656M | ||
org.gradle.jvmargs=-Xmx16384M | ||
android.useAndroidX=true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -137,7 +137,7 @@ android { | |
} | ||
|
||
dexOptions { | ||
javaMaxHeapSize "6g" | ||
javaMaxHeapSize "16g" | ||
} | ||
|
||
lintOptions { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,7 +26,7 @@ android { | |
} | ||
|
||
dexOptions { | ||
javaMaxHeapSize "6g" | ||
javaMaxHeapSize "16g" | ||
} | ||
|
||
buildTypes { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
// Per https://docs.gradle.org/current/userguide/build_environment.html, this | ||
// overrides the gradle.properties in topsrcdir. | ||
org.gradle.daemon=false | ||
org.gradle.jvmargs=-Xmx6656M | ||
org.gradle.jvmargs=-Xmx16384M |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
// Per https://docs.gradle.org/current/userguide/build_environment.html, this | ||
// overrides the gradle.properties in topsrcdir. | ||
org.gradle.daemon=false | ||
org.gradle.jvmargs=-Xmx6656M | ||
org.gradle.jvmargs=-Xmx16384M |