Bug 1527896 - Increase Gradle heaps to handle large assets. r=nalexander
authorJesse Schwartzentruber <truber@mozilla.com>
Thu, 14 Feb 2019 18:21:13 +0000
changeset 459343 847aa80e92e872bbbfb986c0fd0645efff5b3ae4
parent 459342 234d39cb04263f822f461d4e72d912278e23922b
child 459344 6c289d94dcca88ecfe3893633a31370119c061c7
push id35559
push userrmaries@mozilla.com
push dateFri, 15 Feb 2019 09:55:16 +0000
treeherdermozilla-central@fc01e86f7e80 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersnalexander
bugs1527896
milestone67.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1527896 - Increase Gradle heaps to handle large assets. r=nalexander Differential Revision: https://phabricator.services.mozilla.com/D19792
gradle.properties
mobile/android/app/build.gradle
mobile/android/geckoview/build.gradle
mobile/android/gradle/dotgradle-offline/gradle.properties
mobile/android/gradle/dotgradle-online/gradle.properties
--- a/gradle.properties
+++ b/gradle.properties
@@ -1,3 +1,3 @@
 org.gradle.parallel=true
 org.gradle.daemon=true
-org.gradle.jvmargs=-Xmx2560M
+org.gradle.jvmargs=-Xmx4608M
--- a/mobile/android/app/build.gradle
+++ b/mobile/android/app/build.gradle
@@ -45,17 +45,17 @@ android {
     }
 
     compileOptions {
         sourceCompatibility JavaVersion.VERSION_1_8
         targetCompatibility JavaVersion.VERSION_1_8
     }
 
     dexOptions {
-        javaMaxHeapSize "2g"
+        javaMaxHeapSize "4g"
         jumboMode = true
     }
 
     lintOptions {
         abortOnError true
     }
 
     buildTypes {
--- a/mobile/android/geckoview/build.gradle
+++ b/mobile/android/geckoview/build.gradle
@@ -119,17 +119,17 @@ android {
     project.configureProductFlavors()
 
     compileOptions {
         sourceCompatibility JavaVersion.VERSION_1_8
         targetCompatibility JavaVersion.VERSION_1_8
     }
 
     dexOptions {
-        javaMaxHeapSize "2g"
+        javaMaxHeapSize "4g"
     }
 
     lintOptions {
         abortOnError false
     }
 
     sourceSets {
         main {
--- a/mobile/android/gradle/dotgradle-offline/gradle.properties
+++ b/mobile/android/gradle/dotgradle-offline/gradle.properties
@@ -1,3 +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=-Xmx4608M
--- a/mobile/android/gradle/dotgradle-online/gradle.properties
+++ b/mobile/android/gradle/dotgradle-online/gradle.properties
@@ -1,3 +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=-Xmx4608M