[Zope] debugging memory exhaustion

Chris Withers chris at simplistix.co.uk
Thu Aug 9 13:24:52 EDT 2007


Jonathan wrote:
> 
>> 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.

Er no, that would just exacerbate the problem.
The machine itself is functional, just with low memory.
Zope is throwing MemoryErrors because the OS won't give it anymore.
ulimit'ing zope would just make those MemoryErrors come sooner...

Chris

-- 
Simplistix - Content Management, Zope & Python Consulting
            - http://www.simplistix.co.uk


More information about the Zope mailing list