Skip to content

Commit 9eaaba2

Browse files
committed
Add hyper-link for Item 59: Use tracemalloc to understand memory usage and leaks
1 parent 867a117 commit 9eaaba2

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -592,4 +592,11 @@ Python 3.
592592
- 4. The Stats object lets you select and print the subset of profiling
593593
information you need to see to understand your program's performance.
594594

595-
### []()
595+
### [Item 59: Use tracemalloc to understand memory usage and leaks](item_59_use_tracemalloc.py)
596+
- 1. It can be difficult to understand how Python programs use and leak
597+
memory.
598+
- 2. The gc module can help you understand which objects exist, but it has no
599+
information about how they were allocated.
600+
- 3. The tracemalloc built-in module provides powerful tools for understanding
601+
the source of memory usage.
602+
- 4. tracemalloc is only available in Python 3.4 and above.

0 commit comments

Comments
 (0)