[PYTHON] Investigate memory leaks with objgraph

objgratph http://mg.pov.lt/objgraph/

objgraph show_With growth,The type and number of leaking objects can be output to standard output..



```pycon
>>> import objgraph
>>> objgraph.show_growth()

Every time you call it, the increment of the leaking object is output. `` `show_growthinternally calls gc.collect```, so you don't have to GC yourself.

Recommended Posts

Investigate memory leaks with objgraph
Save memory with `` __slots__``
Use shared memory with shared libraries
Investigate English Irregular Verbs with Wiktionary