python memory blow out

Nick Coghlan ncoghlan at
Thu Jan 27 05:03:39 EST 2005

Simon Wittber wrote:
> Does anyone have ideas on why this is occuring, or how I might
> otherwise prevent memory blow out?

The first thing to check is whether you might be accidentally keeping a 
reference to the result set alive somewhere.

If that's not the case, then try to find out if the result set is created by one 
big allocation or lots of little ones (If the latter, other responses have 
pointed out how it may cause your problem).

There's also a chance of a problem with the database API wrapper, so it may be 
worth checking with an API specific list.


Nick Coghlan   |   ncoghlan at   |   Brisbane, Australia

More information about the Python-list mailing list