-
Notifications
You must be signed in to change notification settings - Fork 347
Closed as not planned
Labels
a-AndroidIssues specific to Android, or requiring Android-specific workIssues specific to Android, or requiring Android-specific worka-toolsOur own development tooling, scripts, and infrastructureOur own development tooling, scripts, and infrastructureupstreamWould benefit from work in Flutter or another upstreamWould benefit from work in Flutter or another upstream
Description
We're continuing to occasionally see the symptom of #1330 — CI runs sometimes fail with a "Java heap space" error in the android suite, as Gradle runs out of memory. Here's an example today:
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:compileDebugKotlin'.
> Error while evaluating property 'friendPathsSet$kotlin_gradle_plugin_common' of task ':app:compileDebugKotlin'.
> Could not resolve all files for configuration ':app:debugCompileClasspath'.
> Failed to transform armeabi_v7a_debug-1.0.0-1e035cc693f067ed5033f180e0b6169d2c8a3e58.jar (io.flutter:armeabi_v7a_debug:1.0.0-1e035cc693f067ed5033f180e0b6169d2c8a3e58) to match attributes {artifactType=android-classes-jar, org.gradle.category=library, org.gradle.libraryelements=jar, org.gradle.status=release, org.gradle.usage=java-api}.
> Execution failed for JetifyTransform: /home/runner/.gradle/caches/modules-2/files-2.1/io.flutter/armeabi_v7a_debug/1.0.0-1e035cc693f067ed5033f180e0b6169d2c8a3e58/1d4de013e75bd976543eba257de04ed6657c9c28/armeabi_v7a_debug-1.0.0-1e035cc693f067ed5033f180e0b6169d2c8a3e58.jar.
> Java heap space
Before #1324, this failure was happening in 100% of CI runs — that was #1330.
With #1324 we bumped the Gradle JVM max heap size from 1.5 GiB to 3 GiB. That made CI mostly pass, but it continued to sometimes fail:
https://chat.zulip.org/#narrow/channel/243-mobile-team/topic/Gradle.20out.20of.20memory/near/2082072
With #1331 we bumped it further to 4 GiB. The failure today, quoted above, was with 4 GiB.
Metadata
Metadata
Assignees
Labels
a-AndroidIssues specific to Android, or requiring Android-specific workIssues specific to Android, or requiring Android-specific worka-toolsOur own development tooling, scripts, and infrastructureOur own development tooling, scripts, and infrastructureupstreamWould benefit from work in Flutter or another upstreamWould benefit from work in Flutter or another upstream
Type
Projects
Status
Done