-
Notifications
You must be signed in to change notification settings - Fork 29.1k
Closed
Labels
c: performanceRelates to speed or footprint issues (see "perf:" labels)Relates to speed or footprint issues (see "perf:" labels)dependency: skiaSkia team may need to help usSkia team may need to help usengineflutter/engine repository. See also e: labels.flutter/engine repository. See also e: labels.perf: memoryPerformance issues related to memoryPerformance issues related to memory
Description
Steps to Reproduce
@dnfield @liyuqian : We reproduced the problem(#31303) in a scene with repeated animations in iOS. Through Instrument, we have determined that the reason for the growth of memory is that the
GrUniqueKeyInvalidatedMessage
was not deleted after it was created. So the size of fUniqueKeyInvalidatedMessages
in SkImage_Lazy
is getting bigger and bigger.
My Questions
- We can't find where consumption
fUniqueKeyInvalidatedMessages
except the destructor ofSkImage_Lazy
(This destructor is not called while the animation is playing). When does theGrUniqueKeyInvalidatedMessage
will be used ? - How to fix this issue in v1.5.4 ? (We use custom engine)
Target Platform: iOS any version
Flutter version: v1.5.4
bts. Master also have this problem
Metadata
Metadata
Assignees
Labels
c: performanceRelates to speed or footprint issues (see "perf:" labels)Relates to speed or footprint issues (see "perf:" labels)dependency: skiaSkia team may need to help usSkia team may need to help usengineflutter/engine repository. See also e: labels.flutter/engine repository. See also e: labels.perf: memoryPerformance issues related to memoryPerformance issues related to memory