Skip to content
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

Note flutter version. #216

Merged
merged 2 commits into from
Jan 30, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,10 @@
"pkgs",
"polina",
"polinach",
"pubspec",
"snapshotting",
"sublist",
"unawaited"
"unawaited",
"Upvote"
],
}
6 changes: 3 additions & 3 deletions doc/USAGE.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ See other information on memory debugging [here](../README.md).
Dart and Flutter applications can be configured to automatically
trigger memory usage events and, in case of memory overuse, to save
memory heap snapshots to hard drive.
The snapshots can be later analysed in DevTools.
The snapshots can be later analyzed in DevTools.

https://user-images.githubusercontent.com/12115586/234953319-6f864d25-9854-4126-b4d6-8e114b9045ff.mov

Expand All @@ -19,9 +19,9 @@ See [example](../examples/autosnapshotting/).
We recommend to have auto-snapshotting off by default, with possibility
to enable it via command line arguments in case of reported memory issues.

## Analyse snapshots
## Analyze snapshots

Use [CLI](https://github.com/dart-lang/sdk/tree/main/runtime/tools/heapsnapshot#cli-usage) to analyse the collected snapshots.
Use [CLI](https://github.com/dart-lang/sdk/tree/main/runtime/tools/heapsnapshot#cli-usage) to analyze the collected snapshots.

Upvote [the issue](https://github.com/dart-lang/leak_tracker/issues/125) to enable graphical snapshot analysis with DevTools.

Expand Down
2 changes: 2 additions & 0 deletions doc/leak_tracking/DETECT.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ The text below is under construction.

# Detect Memory Leaks

The documentation below works for flutter SDK 3.18.0 and upper.
polina-c marked this conversation as resolved.
Show resolved Hide resolved

This page describes how to auto-detect certain types of memory leaks.
Read more about leak tracking in [overview](OVERVIEW.md).

Expand Down
Loading