Skip to content

IO thread GrContext memory needs to be cleaned up #19558

@ErosZy

Description

@ErosZy

Original issue title: Android graphics memory can't be reduced when use GridView (maybe leak)

Internal: b/140829916

Steps to Reproduce

  1. create a GridView using GridView.build
  2. the GridView's item contains a CachedNetworkImage component
  3. let item not be keep alive (addRepaintBoundaries/addAutomaticKeepAlives equal false)
  4. open android project use Android Studio
  5. run it profile and open view/tool windows/Android profiler
  6. scroll gridview and see graphics memory incrase

DONT USE EMLUATOR AND DEBUG ENV

Metadata

Metadata

Assignees

Labels

c: crashStack traces logged to the consolec: performanceRelates to speed or footprint issues (see "perf:" labels)customer: handcustomer: money (g3)dependency: skiaSkia team may need to help usengineflutter/engine related. See also e: labels.perf: memoryPerformance issues related to memory

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions