On this page
tracemalloc.stop
Prev: tracemalloc.StatisticDiff | Up: tracemalloc | Next: tracemalloc.take_snapshot
Rel: tracemalloc.BaseFilter, tracemalloc.clear_traces, tracemalloc.DomainFilter, tracemalloc.Filter
Ref: docs.python.org — tracemalloc.stop
Tags: #public #python3 #stdlib #tracemalloc
Import
import tracemalloc
from tracemalloc import stop
Signature & Overview
tracemalloc.stop()
Stop tracing Python memory allocations.
Usage
import tracemalloc
tracemalloc.start()
tracemalloc.stop()
assert tracemalloc.is_tracing() is False
Gotchas
- Also clears all previously recorded traces.
REPL Inspect
from tracemalloc import stop
help(stop)
Linked from
Related notes
- tuts/python3/stdlib_module/tracemalloc/StatisticDiff Linked here; links to this page; shared tags: #stdlib, #tracemalloc
- tuts/python3/stdlib_module/tracemalloc/take_snapshot Linked here; links to this page; shared tags: #stdlib, #tracemalloc
- tuts/python3/stdlib_module/tracemalloc Linked here; links to this page; shared tags: #stdlib
- tuts/python3/stdlib_module/tracemalloc/BaseFilter Linked here; shared tags: #stdlib, #tracemalloc
- tuts/python3/stdlib_module/tracemalloc/clear_traces Linked here; shared tags: #stdlib, #tracemalloc
- tuts/python3/stdlib_module/tracemalloc/DomainFilter Linked here; shared tags: #stdlib, #tracemalloc
- tuts/python3/stdlib_module/tracemalloc/Filter Linked here; shared tags: #stdlib, #tracemalloc
- tuts/python3/stdlib_module/tracemalloc/Frame shared tags: #stdlib, #tracemalloc
- tuts/python3/stdlib_module/tracemalloc/get_object_traceback shared tags: #stdlib, #tracemalloc
- tuts/python3/stdlib_module/tracemalloc/get_traceback_limit shared tags: #stdlib, #tracemalloc