Get the latest tech news

Detect memory leaks of C extensions with psutil and psleak


Memory leaks in Python are often straightforward to diagnose. Just look at RSS, track Python object counts, follow reference graphs.

None

Get the Android app

Or read this on Hacker News

Read more on:

Photo of memory leaks

memory leaks

Photo of psutil

psutil

Photo of C extensions

C extensions

Related news:

News photo

Wheels for free-threaded Python now available for psutil

News photo

Stalker 2 gets third patch in less than a week, this one targeting crashes, memory leaks, and more

News photo

New Windows 10 22H2 beta fixes memory leaks and crashes