• Victor Stinner's avatar
    bpo-36611: Disable serialno field of debug memory allocators (#12796) · e8f9acf0
    Victor Stinner authored
    Omit serialno field from debug hooks on Python memory allocators to
    reduce the memory footprint by 5%.
    
    Enable tracemalloc to get the traceback where a memory block has been
    allocated when a fatal memory error is logged to decide where to put
    a breakpoint.
    
    Compile Python with PYMEM_DEBUG_SERIALNO defined to get back the
    field.
    e8f9acf0
2019-04-12-12-32-39.bpo-36611.zbo9WQ.rst 378 Bytes