leak_tracker
leak_tracker copied to clipboard
A framework for memory leak tracking for Dart and Flutter applications.
Memory leak_tracker
This is a framework for detecting memory issues in Dart and Flutter applications.
Packages
Guidance
Ready for use:
- Memory usage
Under construction:
- Memory leak tracking
- Memory baselining
Roadmap
Check Work in progress to see what is under construction.
Help us to prioritize future work by upvoting and commenting potential new features.
Contributing
For general contributing information, see Dart-wide CONTRIBUTING.md.
How to roll the latest version of this package to the Dart SDK repo
To upgrade Dart SDK with new version of memory_usage update leak_tracker commit
hash for leak_tracker_rev in Dart SDK DEPS.
How to roll the latest version of this package to Flutter
To upgrade versions of leak_tracker and/or leak_tracker_testing used by testWidgets:
-
Publish new version of the packages.
-
Ask a googler to refresh the packages with copybara in G3.
-
Upgrade Flutter:
Update versions of leak_tracker and/or leak_tracker_testing in the files:
- packages/flutter/pubspec.yaml
- packages/flutter_test/pubspec.yaml
- packages/flutter_tools/lib/src/commands/update_packages.dart
How to regenerate DEPENDENCIES.md
To regenerate diagrams, run in the root of packages:
dart run layerlens