Skip to content

Expose skia / graphics memory usage #1090

Description

@jacob314

Currently how much memory skia is using to render a Flutter application is a blackbox. We should should show the total memory used by skia and some breakdown of what the memory is being used for in the memory screen.

Fyi @terrylucas

Activity

  1. added this to the On Deck milestone on Sep 24, 2019
  2. jkurtw commented on Sep 24, 2019

    @jkurtw

    b/141566415

  3. terrylucas commented on Sep 24, 2019

    @terrylucas
    Contributor

    Added flutter/flutter#41225 to allow adb connection from DevTools then we can collect a number of statistics.

  4. jkurtw commented on Oct 22, 2019

    @jkurtw

    Is there further work being done to expose these statistics to the user?

  5. jkurtw commented on Nov 6, 2019

    @jkurtw

    Any update?

  6. dnfield commented on Mar 4, 2020

    @dnfield
    Contributor

    @terrylucas - I'm concerned about the ADB approach. It is likely to inconsistently sample, and it could easily miss important spikes that are cleaned up within 1s.

    Ideally, devtools would be able to get the total native memory usage from the app under test, and it would be able to do this in an OS-independent way (e.g. works on iOS, Android, Desktop). Perhaps it could even work for web as well, for whatever it means on web (maybe Chrome only?).

    See also flutter/flutter#6500

    The basic problem I'm concerned with is that it's easy for a Flutter app to get OOM killed, and it's hard for a typical Flutter developer to realize why.

  7. added
    P3issues we think are valid but not important
    and removed on Jul 5, 2023
  8. changed the title [-]Expose skia memory usage[/-] [+]Expose skia / graphics memory usage[/+] on Nov 17, 2023
  9. kenzieschmoll commented on Nov 17, 2023

    @kenzieschmoll
    Member

    Example issue that a user referenced with the request to include all memory used (e.g. graphics memory): flutter/flutter#102140

  10. removed their assignment
    on Sep 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions