Where the Memory Goes
Part 5 of a series on the CPython runtime: pymalloc, the allocator under every small object. Size classes, 4 KiB pools and 256 KiB arenas, a pool header read from Python, why 4,000 surviving floats keep 95 MiB of memory, …
Part 5 of a series on the CPython runtime: pymalloc, the allocator under every small object. Size classes, 4 KiB pools and 256 KiB arenas, a pool header read from Python, why 4,000 surviving floats keep 95 MiB of memory, …
Part 3 of a series on how Go manages the stack and the heap: the allocator behind every escaping variable. Size classes measured from 17 bytes to 64 KB and set beside TCMalloc, jemalloc and glibc, the tiny allocator that …