We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 867a117 commit 9eaaba2Copy full SHA for 9eaaba2
README.md
@@ -592,4 +592,11 @@ Python 3.
592
- 4. The Stats object lets you select and print the subset of profiling
593
information you need to see to understand your program's performance.
594
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