Bug 1577814 - Increase Gradle heap size. r=nalexander
authorJesse Schwartzentruber <truber@mozilla.com>
Fri, 30 Aug 2019 17:13:46 +0000
changeset 554661 a7cbaad4c9b2ac19904fe72177930a3e3a49b477
parent 554660 a57d69ecbda8442e798d51cf8ecbd465737508c8
child 554662 52a541822f4286e87c70e68133540bb1b8dcc38f
push id2165
push userffxbld-merge
push dateMon, 14 Oct 2019 16:30:58 +0000
treeherdermozilla-release@0eae18af659f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersnalexander
bugs1577814
milestone70.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 1577814 - Increase Gradle heap size. r=nalexander Differential Revision: https://phabricator.services.mozilla.com/D44173
gradle.properties
mobile/android/app/build.gradle
mobile/android/geckoview/build.gradle
mobile/android/geckoview_example/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=-Xmx4608M
+org.gradle.jvmargs=-Xmx6656M
--- 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 "4g"
+        javaMaxHeapSize "6g"
         jumboMode = true
     }
 
     lintOptions {
         abortOnError true
     }
 
     buildTypes {
--- a/mobile/android/geckoview/build.gradle
+++ b/mobile/android/geckoview/build.gradle
@@ -125,17 +125,17 @@ android {
     project.configureProductFlavors()
 
     compileOptions {
         sourceCompatibility JavaVersion.VERSION_1_8
         targetCompatibility JavaVersion.VERSION_1_8
     }
 
     dexOptions {
-        javaMaxHeapSize "4g"
+        javaMaxHeapSize "6g"
     }
 
     lintOptions {
         abortOnError false
     }
 
     sourceSets {
         main {
--- a/mobile/android/geckoview_example/build.gradle
+++ b/mobile/android/geckoview_example/build.gradle
@@ -17,16 +17,20 @@ android {
         versionName "1.0"
     }
 
     compileOptions {
         sourceCompatibility JavaVersion.VERSION_1_8
         targetCompatibility JavaVersion.VERSION_1_8
     }
 
+    dexOptions {
+        javaMaxHeapSize "6g"
+    }
+
     buildTypes {
         release {
             minifyEnabled false
             proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
         }
     }
 
     // By default the android plugins ignores folders that start with `_`, but
--- a/mobile/android/gradle/dotgradle-offline/gradle.properties
+++ b/mobile/android/gradle/dotgradle-offline/gradle.properties
@@ -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=-Xmx4608M
+org.gradle.jvmargs=-Xmx6656M
--- a/mobile/android/gradle/dotgradle-online/gradle.properties
+++ b/mobile/android/gradle/dotgradle-online/gradle.properties
@@ -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=-Xmx4608M
+org.gradle.jvmargs=-Xmx6656M