flutter/packages/flutter_tools/test/integration.shard/test_data
Gray Mackall 120a01ccd2
Restore log dumps for gradle OOM crashes, and set a value for MaxMetaspaceSize (#143085)
Re-sets two jvmargs that were getting cleared because we set a value for `-Xmx`. Could help with https://github.com/flutter/flutter/issues/142957. Copied from comment here https://github.com/flutter/flutter/issues/142957:
>Two random things I ran into while looking into this that might help:
>
>1. Gradle has defaults for a couple of the jvmargs, and setting any one of them clears those defaults for the others (bug here https://github.com/gradle/gradle/issues/19750). This can cause the "Gradle daemon to consume more and more native memory until it crashes", though the bug typically has a different associated error. It seems worth it to re-set those defaults.
>2. There is a property we can set that will give us a heap dump on OOM ([-XX:HeapDumpOnOutOfMemoryError](https://docs.oracle.com/javase/8/docs/technotes/guides/troubleshoot/clopts001.html))

Mostly just a find and replace from `find . -name gradle.properties -exec sed -i '' 's/\-Xmx4G/-Xmx4G\ \-XX:MaxMetaspaceSize=2G\ \-XX:+HeapDumpOnOutOfMemoryError/g' {} \;`, with the templates and the one test that writes from a string replaced by hand. I didn't set a value for `MaxMetaspaceSize` in the template files because I want to make sure this value doesn't cause problems in ci first (changes to the templates are essentially un-revertable for those who `flutter create` while the changes exist).
2024-02-07 19:25:39 +00:00
..
full_apps MigrateConfig and migrate integration testing base (#99092) 2022-03-16 11:10:22 -07:00
background_project.dart Enable private field promotion for flutter_tools (#134474) 2023-09-12 20:20:04 +00:00
basic_project.dart Enable private field promotion for flutter_tools (#134474) 2023-09-12 20:20:04 +00:00
compile_error_project.dart Enable private field promotion for flutter_tools (#134474) 2023-09-12 20:20:04 +00:00
deferred_components_config.dart Update Android minSdkVersion to 21 (#142267) 2024-01-29 09:49:09 -08:00
deferred_components_project.dart Restore log dumps for gradle OOM crashes, and set a value for MaxMetaspaceSize (#143085) 2024-02-07 19:25:39 +00:00
gen_l10n_project.dart Gen l10n add named argument option (#138663) 2024-01-05 21:28:08 +00:00
hot_reload_const_project.dart Enable private field promotion for flutter_tools (#134474) 2023-09-12 20:20:04 +00:00
hot_reload_project.dart [ci] Adds test for web hot restart with const App. (#141824) 2024-01-25 01:49:08 +00:00
hot_reload_with_asset.dart Enable private field promotion for flutter_tools (#134474) 2023-09-12 20:20:04 +00:00
integration_tests_project.dart Enable private field promotion for flutter_tools (#134474) 2023-09-12 20:20:04 +00:00
listen_for_sigterm.dart [flutter_tools] exec rather than spawn subprocess from bin/internal/shared.sh (#99871) 2022-03-14 13:35:18 -07:00
migrate_project.dart Enable private field promotion for flutter_tools (#134474) 2023-09-12 20:20:04 +00:00
project_with_early_error.dart Enable private field promotion for flutter_tools (#134474) 2023-09-12 20:20:04 +00:00
project.dart Consume flutter.js from the engine artifacts. (#137113) 2023-11-14 17:00:29 +00:00
stateless_stateful_project.dart Enable private field promotion for flutter_tools (#134474) 2023-09-12 20:20:04 +00:00
stepping_project.dart Enable private field promotion for flutter_tools (#134474) 2023-09-12 20:20:04 +00:00
test_project.dart Enable private field promotion for flutter_tools (#134474) 2023-09-12 20:20:04 +00:00
tests_project.dart Enable private field promotion for flutter_tools (#134474) 2023-09-12 20:20:04 +00:00