- 07 Feb, 2024 1 commit
-
-
Gray Mackall authored
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).
-
- 13 Sep, 2023 1 commit
-
-
Zachary Anderson authored
I'm seeing these in the bot reports every week. Hopefully this is all of them, and hopefully 4GB is enough.
-
- 02 Dec, 2020 1 commit
-
-
Emmanuel Garcia authored
-
- 23 Nov, 2020 1 commit
-
-
Amir Hardon authored
This reverts commit 8e73bab9.
-
- 20 Nov, 2020 1 commit
-
-
Emmanuel Garcia authored
-
- 25 Sep, 2019 1 commit
-
-
Emmanuel Garcia authored
-
- 14 Sep, 2019 1 commit
-
-
Emmanuel Garcia authored
-
- 28 Jun, 2019 1 commit
-
-
Alexander Aprelev authored
* Introduce image loading performance test. This example reports how long it takes to load images over the network(locally spawned server).
-
- 18 Jun, 2019 1 commit
-
-
Dan Field authored
Skip diagnostics on release mode, add test in firebase testlab
-
- 20 Mar, 2017 1 commit
-
-
Jakob Andersen authored
-
- 21 Feb, 2017 1 commit
-
-
Michael Thomsen authored
-
- 31 Jan, 2017 1 commit
-
-
Jakob Andersen authored
* Update gradle example to support x86 in debug mode. Changed the Flutter Gradle plugin a bit to better fit in with the Android build. Fixes #6136 Fixes #6864 Fixes #7539
-