-
Notifications
You must be signed in to change notification settings - Fork 27.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to detect memory leaks? #110322
Comments
@Inisit https://stackoverflow.com/questions/57674085/how-to-find-memory-leaks-in-flutter/62471179#62471179 https://docs.flutter.dev/development/tools/devtools/memory There's also a community plugin that you can try and see if it suits your purpose: https://pub.dev/packages/leak_detector And follow-up in this open issue for updates: flutter/devtools#3951 Closing from here. |
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of |
我编写的应用(大型项目),存在内存泄漏,内存一直居高不下, 创建的widget实例一直在增加,无法被GC回收掉, 有没有什么办法能准确定位到内存泄漏的代码位置? 就例如Android原生的LeakCanary的功能.
Translation:
The application I wrote (large-scale project) has memory leaks, the memory is always high, and the created widget instances keep increasing and cannot be recycled by GC. Is there any way to accurately locate the code location of the memory leak? For example, Android Native LeakCanary functionality.
The text was updated successfully, but these errors were encountered: