Python memory leaks

Posted by Fragsworth on Stack Overflow See other posts from Stack Overflow or by Fragsworth
Published on 2009-09-16T20:56:04Z Indexed on 2010/03/21 0:21 UTC
Read the original article Hit count: 474

I have a long-running script which, if let to run long enough, will consume all the memory on my system.

Without going into details about the script, I have two questions:

  1. Are there any "Best Practices" to follow, which will help prevent leaks from occurring?
  2. What techniques are there to debug memory leaks in Python?

© Stack Overflow or respective owner

Related posts about python

Related posts about memory-leaks