Skip to content

Clear Impeller's render target cache when there is memory pressure #193015

Closed

Description

@loic-sharma

Background

Impeller uses the RenderTargetCache to cache textures it allocates across frames. This improves performance but results in higher memory usage (for example, see #190613 (comment)).

Solution

When the platform reports memory pressure, an embedder notifies the engine by calling the embedder API's FlutterEngineNotifyLowMemoryWarning. This hook should clear Impeller's render target cache.

Activity

  1. added
    P2Important issues not at the top of the work list
    on Sep 21, 2026
  2. github-actions commented on Oct 20, 2026

    @github-actions

    This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

  3. locked as resolved and limited conversation to collaborators on Oct 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions