-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Closed
flutter/engine
#9503Labels
c: crashStack traces logged to the consoleStack traces logged to the consolec: regressionIt was better in the past than it is nowIt was better in the past than it is nowengineflutter/engine related. See also e: labels.flutter/engine related. See also e: labels.platform-iosiOS applications specificallyiOS applications specifically
Description
Sometime between v1.0.0 and v1.2.1, we regressed on memory usage for apps that use lots of canvas drawing - e.g. the History of Everything app went from peaking around 6-700mb memory usage to peaking around 1.1 or 1.2gb memory usage.
This regression can lead to crashes on older iPhone's (e.g. 5 or 6) that only have 1gb of ram and memory limit you around 650mb for a single process.
I started bisecting this and will continue to dig in tomorrow - at this point, I suspect it may have been something in Skia. For what it's worth, using the Metal backend uses far less memory, at least according to the same readings from Xcode.
/cc @ened
Metadata
Metadata
Assignees
Labels
c: crashStack traces logged to the consoleStack traces logged to the consolec: regressionIt was better in the past than it is nowIt was better in the past than it is nowengineflutter/engine related. See also e: labels.flutter/engine related. See also e: labels.platform-iosiOS applications specificallyiOS applications specifically