René's URL Explorer Experiment


Title: Memory Management — Python 3.12.12 documentation

Open Graph Title: Memory Management

Description: Overview: Memory management in Python involves a private heap containing all Python objects and data structures. The management of this private heap is ensured internally by the Python memory manag...

Open Graph Description: Overview: Memory management in Python involves a private heap containing all Python objects and data structures. The management of this private heap is ensured internally by the Python memory manag...

Opengraph URL: https://docs.python.org/3/c-api/memory.html

direct link

Domain: docs.python.org

og:typewebsite
og:site_namePython documentation
og:image:width1146
og:image:height600
og:imagehttps://docs.python.org/3.12/_images/social_previews/summary_c-api_memory_3fc98526.png
og:image:altOverview: Memory management in Python involves a private heap containing all Python objects and data structures. The management of this private heap is ensured internally by the Python memory manag...
twitter:cardsummary_large_image
theme-color#3776ab
readthedocs-addons-api-version1

Links:

https://www.python.org/
Table of Contentshttps://docs.python.org/3.12/contents.html
Memory Managementhttps://docs.python.org/3.12/c-api/memory.html
Overviewhttps://docs.python.org/3.12/c-api/memory.html#overview
Allocator Domainshttps://docs.python.org/3.12/c-api/memory.html#allocator-domains
Raw Memory Interfacehttps://docs.python.org/3.12/c-api/memory.html#raw-memory-interface
Memory Interfacehttps://docs.python.org/3.12/c-api/memory.html#memory-interface
Object allocatorshttps://docs.python.org/3.12/c-api/memory.html#object-allocators
Default Memory Allocatorshttps://docs.python.org/3.12/c-api/memory.html#default-memory-allocators
Customize Memory Allocatorshttps://docs.python.org/3.12/c-api/memory.html#customize-memory-allocators
Debug hooks on the Python memory allocatorshttps://docs.python.org/3.12/c-api/memory.html#debug-hooks-on-the-python-memory-allocators
The pymalloc allocatorhttps://docs.python.org/3.12/c-api/memory.html#the-pymalloc-allocator
Customize pymalloc Arena Allocatorhttps://docs.python.org/3.12/c-api/memory.html#customize-pymalloc-arena-allocator
tracemalloc C APIhttps://docs.python.org/3.12/c-api/memory.html#tracemalloc-c-api
Exampleshttps://docs.python.org/3.12/c-api/memory.html#examples
Python Initialization Configurationhttps://docs.python.org/3.12/c-api/init_config.html
Object Implementation Supporthttps://docs.python.org/3.12/c-api/objimpl.html
Report a Bughttps://docs.python.org/3.12/bugs.html
Show Source https://github.com/python/cpython/blob/main/Doc/c-api/memory.rst
indexhttps://docs.python.org/3.12/genindex.html
moduleshttps://docs.python.org/3.12/py-modindex.html
nexthttps://docs.python.org/3.12/c-api/objimpl.html
previoushttps://docs.python.org/3.12/c-api/init_config.html
Pythonhttps://www.python.org/
3.12.12 Documentationhttps://docs.python.org/3.12/index.html
Python/C API Reference Manualhttps://docs.python.org/3.12/c-api/index.html
Memory Managementhttps://docs.python.org/3.12/c-api/memory.html
https://docs.python.org/3.12/c-api/memory.html#memory-management
https://docs.python.org/3.12/c-api/memory.html#overview
PYTHONMALLOChttps://docs.python.org/3.12/using/cmdline.html#envvar-PYTHONMALLOC
PYTHONMALLOCSTATShttps://docs.python.org/3.12/using/cmdline.html#envvar-PYTHONMALLOCSTATS
pymalloc memory allocatorhttps://docs.python.org/3.12/c-api/memory.html#pymalloc
https://docs.python.org/3.12/c-api/memory.html#allocator-domains
PyMemAllocatorDomainhttps://docs.python.org/3.12/c-api/memory.html#c.PyMemAllocatorDomain
herehttps://docs.python.org/3.12/c-api/memory.html#default-memory-allocators
PyMem_RawMalloc()https://docs.python.org/3.12/c-api/memory.html#c.PyMem_RawMalloc
PyObject_Malloc()https://docs.python.org/3.12/c-api/memory.html#c.PyObject_Malloc
GILhttps://docs.python.org/3.12/glossary.html#term-GIL
GILhttps://docs.python.org/3.12/glossary.html#term-GIL
PyMem_Free()https://docs.python.org/3.12/c-api/memory.html#c.PyMem_Free
PyMem_Malloc()https://docs.python.org/3.12/c-api/memory.html#c.PyMem_Malloc
https://docs.python.org/3.12/c-api/memory.html#raw-memory-interface
GILhttps://docs.python.org/3.12/glossary.html#term-global-interpreter-lock
default raw memory allocatorhttps://docs.python.org/3.12/c-api/memory.html#default-memory-allocators
https://docs.python.org/3.12/c-api/memory.html#c.PyMem_RawMalloc
https://docs.python.org/3.12/c-api/memory.html#c.PyMem_RawCalloc
https://docs.python.org/3.12/c-api/memory.html#c.PyMem_RawRealloc
PyMem_RawMalloc()https://docs.python.org/3.12/c-api/memory.html#c.PyMem_RawMalloc
PyMem_RawRealloc()https://docs.python.org/3.12/c-api/memory.html#c.PyMem_RawRealloc
PyMem_RawCalloc()https://docs.python.org/3.12/c-api/memory.html#c.PyMem_RawCalloc
PyMem_RawRealloc()https://docs.python.org/3.12/c-api/memory.html#c.PyMem_RawRealloc
https://docs.python.org/3.12/c-api/memory.html#c.PyMem_RawFree
PyMem_RawMalloc()https://docs.python.org/3.12/c-api/memory.html#c.PyMem_RawMalloc
PyMem_RawRealloc()https://docs.python.org/3.12/c-api/memory.html#c.PyMem_RawRealloc
PyMem_RawCalloc()https://docs.python.org/3.12/c-api/memory.html#c.PyMem_RawCalloc
https://docs.python.org/3.12/c-api/memory.html#memory-interface
default memory allocatorhttps://docs.python.org/3.12/c-api/memory.html#default-memory-allocators
pymalloc memory allocatorhttps://docs.python.org/3.12/c-api/memory.html#pymalloc
GILhttps://docs.python.org/3.12/glossary.html#term-global-interpreter-lock
https://docs.python.org/3.12/c-api/memory.html#c.PyMem_Malloc
Stable ABIhttps://docs.python.org/3.12/c-api/stable.html#stable
https://docs.python.org/3.12/c-api/memory.html#c.PyMem_Calloc
Stable ABIhttps://docs.python.org/3.12/c-api/stable.html#stable
https://docs.python.org/3.12/c-api/memory.html#c.PyMem_Realloc
Stable ABIhttps://docs.python.org/3.12/c-api/stable.html#stable
PyMem_Malloc()https://docs.python.org/3.12/c-api/memory.html#c.PyMem_Malloc
PyMem_Realloc()https://docs.python.org/3.12/c-api/memory.html#c.PyMem_Realloc
PyMem_Calloc()https://docs.python.org/3.12/c-api/memory.html#c.PyMem_Calloc
PyMem_Realloc()https://docs.python.org/3.12/c-api/memory.html#c.PyMem_Realloc
https://docs.python.org/3.12/c-api/memory.html#c.PyMem_Free
Stable ABIhttps://docs.python.org/3.12/c-api/stable.html#stable
PyMem_Malloc()https://docs.python.org/3.12/c-api/memory.html#c.PyMem_Malloc
PyMem_Realloc()https://docs.python.org/3.12/c-api/memory.html#c.PyMem_Realloc
PyMem_Calloc()https://docs.python.org/3.12/c-api/memory.html#c.PyMem_Calloc
https://docs.python.org/3.12/c-api/memory.html#c.PyMem_New
PyMem_Malloc()https://docs.python.org/3.12/c-api/memory.html#c.PyMem_Malloc
https://docs.python.org/3.12/c-api/memory.html#c.PyMem_Resize
PyMem_Realloc()https://docs.python.org/3.12/c-api/memory.html#c.PyMem_Realloc
https://docs.python.org/3.12/c-api/memory.html#c.PyMem_Del
PyMem_Free()https://docs.python.org/3.12/c-api/memory.html#c.PyMem_Free
https://docs.python.org/3.12/c-api/memory.html#object-allocators
Customize Memory Allocatorshttps://docs.python.org/3.12/c-api/memory.html#customize-memory-allocators
default object allocatorhttps://docs.python.org/3.12/c-api/memory.html#default-memory-allocators
pymalloc memory allocatorhttps://docs.python.org/3.12/c-api/memory.html#pymalloc
GILhttps://docs.python.org/3.12/glossary.html#term-global-interpreter-lock
https://docs.python.org/3.12/c-api/memory.html#c.PyObject_Malloc
Stable ABIhttps://docs.python.org/3.12/c-api/stable.html#stable
https://docs.python.org/3.12/c-api/memory.html#c.PyObject_Calloc
Stable ABIhttps://docs.python.org/3.12/c-api/stable.html#stable
https://docs.python.org/3.12/c-api/memory.html#c.PyObject_Realloc
Stable ABIhttps://docs.python.org/3.12/c-api/stable.html#stable
PyObject_Malloc()https://docs.python.org/3.12/c-api/memory.html#c.PyObject_Malloc
PyObject_Realloc()https://docs.python.org/3.12/c-api/memory.html#c.PyObject_Realloc
PyObject_Calloc()https://docs.python.org/3.12/c-api/memory.html#c.PyObject_Calloc
PyObject_Realloc()https://docs.python.org/3.12/c-api/memory.html#c.PyObject_Realloc
https://docs.python.org/3.12/c-api/memory.html#c.PyObject_Free
Stable ABIhttps://docs.python.org/3.12/c-api/stable.html#stable
PyObject_Malloc()https://docs.python.org/3.12/c-api/memory.html#c.PyObject_Malloc
PyObject_Realloc()https://docs.python.org/3.12/c-api/memory.html#c.PyObject_Realloc
PyObject_Calloc()https://docs.python.org/3.12/c-api/memory.html#c.PyObject_Calloc
https://docs.python.org/3.12/c-api/memory.html#default-memory-allocators
PYTHONMALLOChttps://docs.python.org/3.12/using/cmdline.html#envvar-PYTHONMALLOC
pymalloc memory allocatorhttps://docs.python.org/3.12/c-api/memory.html#pymalloc
debug hooks on the Python memory allocatorshttps://docs.python.org/3.12/c-api/memory.html#pymem-debug-hooks
Python build in debug modehttps://docs.python.org/3.12/using/configure.html#debug-build
https://docs.python.org/3.12/c-api/memory.html#customize-memory-allocators
https://docs.python.org/3.12/c-api/memory.html#c.PyMemAllocatorEx
PyMemAllocatorExhttps://docs.python.org/3.12/c-api/memory.html#c.PyMemAllocatorEx
https://docs.python.org/3.12/c-api/memory.html#c.PyMemAllocatorDomain
https://docs.python.org/3.12/c-api/memory.html#c.PYMEM_DOMAIN_RAW
PyMem_RawMalloc()https://docs.python.org/3.12/c-api/memory.html#c.PyMem_RawMalloc
PyMem_RawRealloc()https://docs.python.org/3.12/c-api/memory.html#c.PyMem_RawRealloc
PyMem_RawCalloc()https://docs.python.org/3.12/c-api/memory.html#c.PyMem_RawCalloc
PyMem_RawFree()https://docs.python.org/3.12/c-api/memory.html#c.PyMem_RawFree
https://docs.python.org/3.12/c-api/memory.html#c.PYMEM_DOMAIN_MEM
PyMem_Malloc()https://docs.python.org/3.12/c-api/memory.html#c.PyMem_Malloc
PyMem_Realloc()https://docs.python.org/3.12/c-api/memory.html#c.PyMem_Realloc
PyMem_Calloc()https://docs.python.org/3.12/c-api/memory.html#c.PyMem_Calloc
PyMem_Free()https://docs.python.org/3.12/c-api/memory.html#c.PyMem_Free
https://docs.python.org/3.12/c-api/memory.html#c.PYMEM_DOMAIN_OBJ
PyObject_Malloc()https://docs.python.org/3.12/c-api/memory.html#c.PyObject_Malloc
PyObject_Realloc()https://docs.python.org/3.12/c-api/memory.html#c.PyObject_Realloc
PyObject_Calloc()https://docs.python.org/3.12/c-api/memory.html#c.PyObject_Calloc
PyObject_Free()https://docs.python.org/3.12/c-api/memory.html#c.PyObject_Free
PyMemAllocatorDomainhttps://docs.python.org/3.12/c-api/memory.html#c.PyMemAllocatorDomain
PyMemAllocatorExhttps://docs.python.org/3.12/c-api/memory.html#c.PyMemAllocatorEx
https://docs.python.org/3.12/c-api/memory.html#c.PyMem_GetAllocator
PyMemAllocatorDomainhttps://docs.python.org/3.12/c-api/memory.html#c.PyMemAllocatorDomain
PyMemAllocatorExhttps://docs.python.org/3.12/c-api/memory.html#c.PyMemAllocatorEx
https://docs.python.org/3.12/c-api/memory.html#c.PyMem_SetAllocator
PYMEM_DOMAIN_RAWhttps://docs.python.org/3.12/c-api/memory.html#c.PYMEM_DOMAIN_RAW
GILhttps://docs.python.org/3.12/glossary.html#term-global-interpreter-lock
PyMem_SetupDebugHooks()https://docs.python.org/3.12/c-api/memory.html#c.PyMem_SetupDebugHooks
PyPreConfig.allocatorhttps://docs.python.org/3.12/c-api/init_config.html#c.PyPreConfig.allocator
Preinitialize Python with PyPreConfighttps://docs.python.org/3.12/c-api/init_config.html#c-preinit
PyMem_SetAllocator()https://docs.python.org/3.12/c-api/memory.html#c.PyMem_SetAllocator
Py_PreInitialize()https://docs.python.org/3.12/c-api/init_config.html#c.Py_PreInitialize
Py_InitializeFromConfig()https://docs.python.org/3.12/c-api/init_config.html#c.Py_InitializeFromConfig
the section on allocator domainshttps://docs.python.org/3.12/c-api/memory.html#id1
Py_InitializeFromConfig()https://docs.python.org/3.12/c-api/init_config.html#c.Py_InitializeFromConfig
https://docs.python.org/3.12/c-api/memory.html#c.PyMem_SetupDebugHooks
debug hooks in the Python memory allocatorshttps://docs.python.org/3.12/c-api/memory.html#pymem-debug-hooks
https://docs.python.org/3.12/c-api/memory.html#debug-hooks-on-the-python-memory-allocators
Python is built in debug modehttps://docs.python.org/3.12/using/configure.html#debug-build
PyMem_SetupDebugHooks()https://docs.python.org/3.12/c-api/memory.html#c.PyMem_SetupDebugHooks
Python preinitializationhttps://docs.python.org/3.12/c-api/init_config.html#c-preinit
PYTHONMALLOChttps://docs.python.org/3.12/using/cmdline.html#envvar-PYTHONMALLOC
PyMem_SetupDebugHooks()https://docs.python.org/3.12/c-api/memory.html#c.PyMem_SetupDebugHooks
PyMem_SetAllocator()https://docs.python.org/3.12/c-api/memory.html#c.PyMem_SetAllocator
PyObject_Free()https://docs.python.org/3.12/c-api/memory.html#c.PyObject_Free
PyMem_Malloc()https://docs.python.org/3.12/c-api/memory.html#c.PyMem_Malloc
GILhttps://docs.python.org/3.12/glossary.html#term-global-interpreter-lock
PYMEM_DOMAIN_OBJhttps://docs.python.org/3.12/c-api/memory.html#c.PYMEM_DOMAIN_OBJ
PyObject_Malloc()https://docs.python.org/3.12/c-api/memory.html#c.PyObject_Malloc
PYMEM_DOMAIN_MEMhttps://docs.python.org/3.12/c-api/memory.html#c.PYMEM_DOMAIN_MEM
PyMem_Malloc()https://docs.python.org/3.12/c-api/memory.html#c.PyMem_Malloc
tracemallochttps://docs.python.org/3.12/library/tracemalloc.html#module-tracemalloc
tracemallochttps://docs.python.org/3.12/library/tracemalloc.html#module-tracemalloc
PYMEM_DOMAIN_RAWhttps://docs.python.org/3.12/c-api/memory.html#c.PYMEM_DOMAIN_RAW
PYMEM_DOMAIN_MEMhttps://docs.python.org/3.12/c-api/memory.html#c.PYMEM_DOMAIN_MEM
PYMEM_DOMAIN_OBJhttps://docs.python.org/3.12/c-api/memory.html#c.PYMEM_DOMAIN_OBJ
PyMem_SetupDebugHooks()https://docs.python.org/3.12/c-api/memory.html#c.PyMem_SetupDebugHooks
tracemallochttps://docs.python.org/3.12/library/tracemalloc.html#module-tracemalloc
PYMEM_DOMAIN_OBJhttps://docs.python.org/3.12/c-api/memory.html#c.PYMEM_DOMAIN_OBJ
PYMEM_DOMAIN_MEMhttps://docs.python.org/3.12/c-api/memory.html#c.PYMEM_DOMAIN_MEM
https://docs.python.org/3.12/c-api/memory.html#the-pymalloc-allocator
PyMem_RawMalloc()https://docs.python.org/3.12/c-api/memory.html#c.PyMem_RawMalloc
PyMem_RawRealloc()https://docs.python.org/3.12/c-api/memory.html#c.PyMem_RawRealloc
default allocatorhttps://docs.python.org/3.12/c-api/memory.html#default-memory-allocators
PYMEM_DOMAIN_MEMhttps://docs.python.org/3.12/c-api/memory.html#c.PYMEM_DOMAIN_MEM
PyMem_Malloc()https://docs.python.org/3.12/c-api/memory.html#c.PyMem_Malloc
PYMEM_DOMAIN_OBJhttps://docs.python.org/3.12/c-api/memory.html#c.PYMEM_DOMAIN_OBJ
PyObject_Malloc()https://docs.python.org/3.12/c-api/memory.html#c.PyObject_Malloc
--without-pymallochttps://docs.python.org/3.12/using/configure.html#cmdoption-without-pymalloc
PYTHONMALLOChttps://docs.python.org/3.12/using/cmdline.html#envvar-PYTHONMALLOC
https://docs.python.org/3.12/c-api/memory.html#customize-pymalloc-arena-allocator
https://docs.python.org/3.12/c-api/memory.html#c.PyObjectArenaAllocator
PyObjectArenaAllocatorhttps://docs.python.org/3.12/c-api/memory.html#c.PyObjectArenaAllocator
https://docs.python.org/3.12/c-api/memory.html#c.PyObject_GetArenaAllocator
PyObjectArenaAllocatorhttps://docs.python.org/3.12/c-api/memory.html#c.PyObjectArenaAllocator
https://docs.python.org/3.12/c-api/memory.html#c.PyObject_SetArenaAllocator
https://docs.python.org/3.12/c-api/memory.html#tracemalloc-c-api
https://docs.python.org/3.12/c-api/memory.html#c.PyTraceMalloc_Track
tracemallochttps://docs.python.org/3.12/library/tracemalloc.html#module-tracemalloc
https://docs.python.org/3.12/c-api/memory.html#c.PyTraceMalloc_Untrack
tracemallochttps://docs.python.org/3.12/library/tracemalloc.html#module-tracemalloc
https://docs.python.org/3.12/c-api/memory.html#examples
Overviewhttps://docs.python.org/3.12/c-api/memory.html#memoryoverview
PyObject_Newhttps://docs.python.org/3.12/c-api/allocation.html#c.PyObject_New
PyObject_NewVarhttps://docs.python.org/3.12/c-api/allocation.html#c.PyObject_NewVar
PyObject_Del()https://docs.python.org/3.12/c-api/allocation.html#c.PyObject_Del
Table of Contentshttps://docs.python.org/3.12/contents.html
Memory Managementhttps://docs.python.org/3.12/c-api/memory.html
Overviewhttps://docs.python.org/3.12/c-api/memory.html#overview
Allocator Domainshttps://docs.python.org/3.12/c-api/memory.html#allocator-domains
Raw Memory Interfacehttps://docs.python.org/3.12/c-api/memory.html#raw-memory-interface
Memory Interfacehttps://docs.python.org/3.12/c-api/memory.html#memory-interface
Object allocatorshttps://docs.python.org/3.12/c-api/memory.html#object-allocators
Default Memory Allocatorshttps://docs.python.org/3.12/c-api/memory.html#default-memory-allocators
Customize Memory Allocatorshttps://docs.python.org/3.12/c-api/memory.html#customize-memory-allocators
Debug hooks on the Python memory allocatorshttps://docs.python.org/3.12/c-api/memory.html#debug-hooks-on-the-python-memory-allocators
The pymalloc allocatorhttps://docs.python.org/3.12/c-api/memory.html#the-pymalloc-allocator
Customize pymalloc Arena Allocatorhttps://docs.python.org/3.12/c-api/memory.html#customize-pymalloc-arena-allocator
tracemalloc C APIhttps://docs.python.org/3.12/c-api/memory.html#tracemalloc-c-api
Exampleshttps://docs.python.org/3.12/c-api/memory.html#examples
Python Initialization Configurationhttps://docs.python.org/3.12/c-api/init_config.html
Object Implementation Supporthttps://docs.python.org/3.12/c-api/objimpl.html
Report a Bughttps://docs.python.org/3.12/bugs.html
Show Source https://github.com/python/cpython/blob/main/Doc/c-api/memory.rst
indexhttps://docs.python.org/3.12/genindex.html
moduleshttps://docs.python.org/3.12/py-modindex.html
nexthttps://docs.python.org/3.12/c-api/objimpl.html
previoushttps://docs.python.org/3.12/c-api/init_config.html
Pythonhttps://www.python.org/
3.12.12 Documentationhttps://docs.python.org/3.12/index.html
Python/C API Reference Manualhttps://docs.python.org/3.12/c-api/index.html
Memory Managementhttps://docs.python.org/3.12/c-api/memory.html
Copyrighthttps://docs.python.org/3.12/copyright.html
History and Licensehttps://docs.python.org/license.html
Please donate.https://www.python.org/psf/donations/
Found a bughttps://docs.python.org/bugs.html
Sphinxhttps://www.sphinx-doc.org/

Viewport: width=device-width, initial-scale=1.0


URLs of crawlers that visited me.