bookmark

LShift Ltd. » Tracing Python memory leaks


Description

. The data wasn’t increasing so there must have been some memory leak.

It’s not so easy for a Python application to leak memory. Usually there are three scenarios:

  1. some low level C library is leaking
  2. your Python code have global lists or dicts that grow over time, and you forgot to remove the objects after use
  3. there are some reference cycles in your app

Preview

Tags

Users

  • @tmalsburg

Comments and Reviews