MinDalle_StableDiff/Python310/Lib/test/dtracedata/gc.py

14 lines
155 B
Python
Raw Normal View History

2022-09-17 15:26:13 +03:00
import gc
def start():
gc.collect(0)
gc.collect(1)
gc.collect(2)
l = []
l.append(l)
del l
gc.collect(2)
gc.collect()
start()