Markdown Format | JSON API | MCP Server Tool
Help on built-in module _tracemalloc: NAME _tracemalloc - Debug module to trace memory blocks allocated by Python. FUNCTIONS clear_traces() Clear traces of memory blocks allocated by Python. get_traceback_limit() Get the maximum number of frames stored in the traceback of a trace. By default, a trace of an allocated memory block only stores the most recent frame: the limit is 1. get_traced_memory() Get the current size and peak size of memory blocks traced by tracemalloc. Returns a tuple: (current: int, peak: int). get_tracemalloc_memory() Get the memory usage in bytes of the tracemalloc module. This memory is used internally to trace memory allocations. is_tracing() Return True if the tracemalloc module is tracing Python memory allocations. reset_peak() Set the peak size of memory blocks traced by tracemalloc to the current size. Do nothing if the tracemalloc module is not tracing memory allocations. start(nframe=1, /) Start tracing Python memory allocations. Also set the maximum number of frames stored in the traceback of a trace to nframe. stop() Stop tracing Python memory allocations. Also clear traces of memory blocks allocated by Python. FILE (built-in)
Generated by phpMan Author: Che Dong Under GNU General Public License
2026-06-02 05:13 @216.73.216.198 CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)