Skip to content

Commit fadfced

Browse files
committed
Improve README.md
1 parent 450f6eb commit fadfced

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

README.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,17 @@ task leaks are surprising and often contribute a lot):
7272
--exclude='0x7967b8ed0fe0,0x7967eff3ad80,0x7967e7cca000' \
7373
--highlight='asyncio.Task' \
7474
--max-depth=30 \
75-
~/heap.after.bin.gz | \
76-
dot -o ~/graph.svg -Tsvg
75+
--output ~/graph.svg \
76+
~/heap.after.bin.gz
77+
```
78+
79+
Or start a more interactive exploration with an HTTP server (all fields accept
80+
the same parameters as the `graph` subcommand).
81+
82+
```shell
83+
~/debug-heap$ uv run analyze_heap.py \
84+
server \
85+
~/heap.after.bin.gz
7786
```
7887

7988
Hopefully that will shed some light to why the leak is happening and how to fix

0 commit comments

Comments
 (0)