-
Notifications
You must be signed in to change notification settings - Fork 330
Open
Description
Steps to reproduce
- Open a Flutter Project in Android Studio Narwhal 3 Feature Drop | 2025.1.3 (Plugins: Flutter 88.0.0, Dart 251.27623.5)
- Start a Pixel 9 Pro Emulator (Version 36.1.9-13823996) with Android 16 (vm.heapSize 512 MB, hw.ramSize 6144 MB)
- Add some Dart Line Breakpoints with "Suspend execution" enabled and some with "Suspend execution" disabled and "Evaluate and log:" enabled with a Message string using $variables (here in sum 17 breakpoints)
- Open the Flutter DevTools Window in Android Studio and select VM Tools -> Process Memory -> Tree Map
- change something in the dart flutter code and save (with hot reload).
- Immediately refresh the Tree Map several times, the "anon:scudo:primary" memory is growing to 3 GB+
- Disable all breakpoints
- change some code and init a hot reload again
- see the difference in hot reload speed and memory consumption
Expected results
- Hot reload refreshes the app in short time under a second
- the memory doesn't grow that much and do not cause a crash or disconnect of the emulator session ( with vm.heapSize 256 MB and standard hw.ramSize)


Actual results
- hot reload time is to long for reassemble
- the scudo primary memory is growing too much which results in an app crash or disconnect the debugger


Code sample
Code sample
[Paste your code here]
Screenshots or Video
Screenshots / Video demonstration
[Upload media here]
Logs
Logs
[Paste your logs here]
Flutter Doctor output

Doctor output
[Paste your output here]
Metadata
Metadata
Assignees
Labels
No labels