[mod_python] memory error

Webb Sprague webb.sprague at gmail.com
Thu Sep 27 13:21:07 EDT 2007


Could anyone recommend a method for profiling memory usage in a
mod_python application?

My application creates lots and lots of scipy matrices, and then
pickles them, and then stores them in a database.  If I do too many
runs I get a memory error when I try to insert them, but I also get
lots of swapping before that.  I could delete some of these arrays,
but I would like to figure out where the biggest problems are (because
I would prefer to store everything).

I would be happy to analyze a core dump too.
-W


More information about the Mod_python mailing list