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 1786164 - Add more Gradle JVM memory flags. r=geckoview-reviewers…
…,jonalmeida See mozilla-mobile/fenix#26542 for more discussion. Also specify a lower maximum heap size more in line with other projects and remove some redundant settings in other gradle.properties files. Differential Revision: https://phabricator.services.mozilla.com/D155179
- Loading branch information
1 parent
450ee76
commit 9982083
Showing
3 changed files
with
3 additions
and
3 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,6 @@ | ||
org.gradle.parallel=true | ||
org.gradle.daemon=true | ||
org.gradle.jvmargs=-Xmx32768M | ||
# Be careful when changing org.gradle.jvmargs below. It will clobber | ||
# any defaults set by Gradle: https://github.com/gradle/gradle/issues/19750 | ||
org.gradle.jvmargs=-Xmx8g -Xms2g -XX:MaxMetaspaceSize=6g | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
// Per https://docs.gradle.org/current/userguide/build_environment.html, this | ||
// overrides the gradle.properties in topsrcdir. | ||
org.gradle.daemon=false | ||
org.gradle.jvmargs=-Xmx32768M |
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,3 @@ | ||
// Per https://docs.gradle.org/current/userguide/build_environment.html, this | ||
// overrides the gradle.properties in topsrcdir. | ||
org.gradle.daemon=false | ||
org.gradle.jvmargs=-Xmx32768M |