DAGDA SEARCH | Back to results | Support

Free Memory - Python Wiki

Source: https://wiki.python.org/python/archive/FreeMemory.html

  1. Python Wiki /
  2. Python Wiki /
  3. Archive /
  4. Free Memory
View as Markdown

Free Memory

Legacy Wiki Page

This page was migrated from the old MoinMoin-based wiki. Information may be outdated or no longer applicable. For current documentation, see python.org.

As Christian Heimes describes it here, Python uses its own memory allocator for small objects (< 257 bytes). Larger objects are allocated directly with malloc, smaller objects end up in arenas. The code is well documented in obmalloc.c.

Related information:

PreviousFree Hosts Next Free Software