mirror of https://github.com/python/cpython
14 lines
155 B
Python
14 lines
155 B
Python
|
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()
|