Take a snapshot of traces of memory blocks allocated by Python.
tracemalloc/take_snapshot
take_snapshot