Skip to content

Commit 998f42a

Browse files
authored
Increase Java heap limit to 8GB for plugin integration tests using deferred components (#158330)
Should help resolve flutter/flutter#156953
1 parent dff06fd commit 998f42a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/flutter_tools/test/integration.shard/test_data/deferred_components_project.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ class BasicDeferredComponentsConfig extends DeferredComponentsConfig {
242242

243243
@override
244244
String get androidGradleProperties => '''
245-
org.gradle.jvmargs=-Xmx4G -XX:MaxMetaspaceSize=2G -XX:+HeapDumpOnOutOfMemoryError
245+
org.gradle.jvmargs=-Xmx8G -XX:MaxMetaspaceSize=2G -XX:+HeapDumpOnOutOfMemoryError
246246
android.useAndroidX=true
247247
android.enableJetifier=true
248248
android.enableR8=true

0 commit comments

Comments
 (0)