Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

memory_profiler [0] mentioned in the post actual can detect memory leaks in compiled C extensions as it uses the OS through the psutil module to measure the aggregate memory usage of the Python process rather than asking the Python runtime itself. It can therefore take into account memory that was not allocated by the Python malloc.

[0] https://github.com/fabianp/memory_profiler



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: