Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

[Impeller] fix obvious memory leak. #55036

Merged
merged 5 commits into from
Sep 9, 2024

Conversation

jonahwilliams
Copy link
Member

@jonahwilliams jonahwilliams commented Sep 9, 2024

Fixes flutter/flutter#154549

Each overlay surface gets its own content context and each cc gets its own transient buffer. So not reseting the overlay surfaces causes a memory leak. The overlay surfaces would just continue to allocate into the same buffer which would allocate endlessly

@flutter-dashboard

This comment was marked as off-topic.

@jonahwilliams jonahwilliams added the autosubmit Merge PR when tree becomes green via auto submit App label Sep 9, 2024
@auto-submit auto-submit bot merged commit 7ad9e5b into flutter:main Sep 9, 2024
30 checks passed
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Sep 9, 2024
auto-submit bot pushed a commit to flutter/flutter that referenced this pull request Sep 9, 2024
…154849)

flutter/engine@813ad2d...7ad9e5b

2024-09-09 [email protected] [Impeller] fix obvious memory leak. (flutter/engine#55036)

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC [email protected],[email protected],[email protected] on the revert to ensure that a human
is aware of the problem.

To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose

To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
auto-submit bot pushed a commit that referenced this pull request Sep 10, 2024
@jonahwilliams jonahwilliams deleted the out_of_memory branch September 11, 2024 02:15
jesswrd pushed a commit to jesswrd/engine that referenced this pull request Sep 11, 2024
Fixes flutter/flutter#154549

Each overlay surface gets its own content context and each cc gets its own transient buffer. So not reseting the overlay surfaces causes a memory leak. The overlay surfaces would just continue to allocate into the same buffer which would allocate endlessly
jesswrd pushed a commit to jesswrd/engine that referenced this pull request Sep 11, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
autosubmit Merge PR when tree becomes green via auto submit App
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Stacking Widgets on top of UiKitView results in Memory explosion
3 participants