Python Forum
use objgraph to find mempry leaks - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: use objgraph to find mempry leaks (/thread-8745.html)



use objgraph to find mempry leaks - stephenwei - Mar-05-2018

Hi All,
I have the issues about how to use objgraph to detect memory leaks as below.

[Image: view?usp=sharing]

I write the simple code to start and stop the g_pipeline Constantly.

After del the g_pipeline, I execute gc.collect() and return 0

But the memory usage increases every start time,

so have someone give the suggestion?

Thanks,
Stephen