-
Notifications
You must be signed in to change notification settings - Fork 29.8k
Closed
Labels
P3Issues that are less important to the Flutter projectIssues that are less important to the Flutter projectc: performanceRelates to speed or footprint issues (see "perf:" labels)Relates to speed or footprint issues (see "perf:" labels)customer: crowdAffects or could affect many people, though not necessarily a specific customer.Affects or could affect many people, though not necessarily a specific customer.p: cameraThe camera pluginThe camera pluginpackageflutter/packages repository. See also p: labels.flutter/packages repository. See also p: labels.perf: memoryPerformance issues related to memoryPerformance issues related to memoryplatform-iosiOS applications specificallyiOS applications specifically
Description
This is reproducible in the example project for the camera plugin.
Unsure whether or not this is directly related to #26007 or not
#20402 and #20943 were both closed without a resolution (I tried flutter upgrade as mentioned which did not fix the issue).
Steps to Reproduce
-
Build the flutter code (
flutter build package) and run on an iOS device through Xcode -
Alternate between the two cameras at the bottom of the screen (front then back then front then back etc)
Result:
The memory usage will slowly climb with each alternation - it will spike for the back camera (likely due to the higher resolution) then drop down for the front camera but in either case the values that each settle on will get higher and higher until the app crashes with an out of memory error:
MichaelMarner, fatihbalsoy, MarcelEdward, bilguun, rmtmckenzie and 10 more
Metadata
Metadata
Assignees
Labels
P3Issues that are less important to the Flutter projectIssues that are less important to the Flutter projectc: performanceRelates to speed or footprint issues (see "perf:" labels)Relates to speed or footprint issues (see "perf:" labels)customer: crowdAffects or could affect many people, though not necessarily a specific customer.Affects or could affect many people, though not necessarily a specific customer.p: cameraThe camera pluginThe camera pluginpackageflutter/packages repository. See also p: labels.flutter/packages repository. See also p: labels.perf: memoryPerformance issues related to memoryPerformance issues related to memoryplatform-iosiOS applications specificallyiOS applications specifically

