You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
@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?).
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.
Activity
jkurtw commentedon Sep 24, 2019
b/141566415
terrylucas commentedon Sep 24, 2019
Added flutter/flutter#41225 to allow adb connection from DevTools then we can collect a number of statistics.
jkurtw commentedon Oct 22, 2019
Is there further work being done to expose these statistics to the user?
jkurtw commentedon Nov 6, 2019
Any update?
dnfield commentedon Mar 4, 2020
@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.
[-]Expose skia memory usage[/-][+]Expose skia / graphics memory usage[/+]kenzieschmoll commentedon Nov 17, 2023
Example issue that a user referenced with the request to include all memory used (e.g. graphics memory): flutter/flutter#102140