Open
Description
Steps to Reproduce
Open Flutter Devtools in Android Studio. Leave an application running in Android Studio over night.
Memory usage increases from around 1.4GB for Android Studio debugging a Flutter project to almost 4GB.
On a new run of the project with debugger and devtools enabled.
This is enough that I tend to need to restart Android Studio about once every day for a mac with 16GB of ram to remain useable.
Notice we also appear to be leaking ports. Stopping and starting a Flutter app repeatedly causes the # of ports to climb.
Fyi @kenzieschmoll @terrylucas as this could be an opportunity to do some memory profiling on Android Studio to compare some of the Java profiling tools to DevTools.
Version info
Android Studio 20.20.3.1
Flutter dev channel
Flutter Plugin 59.0.2