Skip to content

Commit

Permalink
Note flutter version. (#216)
Browse files Browse the repository at this point in the history
Fixes #215
  • Loading branch information
polina-c authored Jan 30, 2024
1 parent 58566de commit ba65238
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
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 is valid for Flutter SDKs >= 3.18.0.

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

Expand Down

0 comments on commit ba65238

Please sign in to comment.