----- Original Message ----- From: "Chris Withers" <[EMAIL PROTECTED]>
To: "zope list user" <zope@zope.org>
Sent: Thursday, August 09, 2007 12:09 PM
Subject: [Zope] debugging memory exhaustion

Hi All,

I'm suffering with an app server that keeps blowing through all its memory.

I have a suspicion this is due to a dodgy python script or page template pulling too many objects into memory. However, by the time I know to look, the app server throws MemoryErrors for each and every request.

What're the best ways to go about debugging this? Would DeadlockDebugger help or will it suffer from the same problem?

Of course, it'd be lovely if you could actually specify an upper memory bound for a particular request to use, and/or Zope as a whole, but these kinds of things always seem to stall at the development stage :-(

If you're running on a linux machine you could look into the ulimit command to limit the process memory utilization, which may allow you to see what it happening.

Zope maillist  -  Zope@zope.org
**   No cross posts or HTML encoding!  **
(Related lists - http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to