Skip to content

fix: lower default old gen heap size on Android to memory class#188235

Draft
mboetger wants to merge 1 commit into
flutter:masterfrom
mboetger:triage-issue-72546
Draft

fix: lower default old gen heap size on Android to memory class#188235
mboetger wants to merge 1 commit into
flutter:masterfrom
mboetger:triage-issue-72546

Conversation

@mboetger

Copy link
Copy Markdown
Contributor

Sets the default old gen heap size to the device's memory class (or large memory class if large heap is enabled) instead of half of the total physical memory, which respects Android OS limits and reduces the chance of OOM.

Resolves #72546

Sets the default old gen heap size to the device's memory class (or large memory class if large heap is enabled) instead of half of the total physical memory, which respects Android OS limits and reduces the chance of OOM.

Resolves flutter#72546
@mboetger mboetger added the l:backlog LLM created PR addressing a backlog issue. label Jun 18, 2026
@flutter-dashboard flutter-dashboard Bot added the CICD Run CI/CD label Jun 18, 2026
@github-actions github-actions Bot added platform-android Android applications specifically engine flutter/engine related. See also e: labels. team-android Owned by Android platform team labels Jun 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CICD Run CI/CD engine flutter/engine related. See also e: labels. l:backlog LLM created PR addressing a backlog issue. platform-android Android applications specifically team-android Owned by Android platform team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Lower the default Dart VM old space size on Android

1 participant