Neurohazard
暮雲煙月,皓首窮經;森羅萬象,如是我聞。

Python 垃圾回收 GC

wpadmin~April 2, 2019 /Software Engineering

Python 垃圾回收 GC

Garbage Collection

demo

import gc
a=range(10000*10000)
del a
gc.collect()

排查内存泄露可以考虑使用 objgraph

Leave a Reply

Your email address will not be published. Required fields are marked *