Kyle Jensen

Mostly entrepreneurship, IP, and web development.

Filed under

  • python
  • software
July 29, 2010

A decorator for detecting memory leaks in python

  • Edit
  • Delete
  • Tags
  • Autopost

I thought I had a memory leak in a program I was writing for my wife today and found this awesome answer on StackOverflow. I turned it into a decorator to I could detect memory leaks more easily in the future. The code for the decorator is below.

Comments (0)

Leave a comment...