You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/sphinx/source/debugging/debug_tools.rst
+6-2Lines changed: 6 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,8 @@ First create your toolbox, in this one we have:
18
18
19
19
* Debug version of Python - great for finding out more detail of your Python code as it executes.
20
20
* Valgrind - the goto tool for memory leaks. It is a little tricky to get working but should be in every developers toolbox.
21
-
* OS memory monitioring - this is a quick and simple way of identifying whether memory leaks are happening or not. An example is given below: :ref:`simple-memory-monitor-label`
21
+
* OS memory monitioring - this is a quick and simple way of identifying whether memory leaks are happening or not.
22
+
An example is given below: :ref:`simple-memory-monitor-label`
22
23
23
24
.. _debug-tools-debug-python-label:
24
25
@@ -74,7 +75,10 @@ Here :ref:`leaked-new-references-valgrind-label` is an example of finding a leak
74
75
A Simple Memory Monitor
75
76
------------------------------------------------
76
77
77
-
Here is a simple process memory monitor using the ``psutil`` library:
78
+
A useful technique is to monitor the memory usage of a Python program.
79
+
Here is a simple process memory monitor using the ``psutil`` library.
80
+
See the :ref:`memory_leaks-label` chapter for a more comprehensive approach, in particular
0 commit comments