Start tracing Python memory allocations. Also set the maximum number of frames stored in the traceback of a trace to nframe.
tracemalloc/start
start