[Zope] Problems with memory leaks

Charlie Reiman creiman@kefta.com
Thu, 14 Nov 2002 11:01:52 -0800


> -----Original Message-----
> From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Geir
> Arne Evjen
> Sent: Thursday, November 14, 2002 6:30 AM
> To: Zope@Zope.Org
> Subject: [Zope] Problems with memory leaks
>
>
>
> I've been using Zope 2.5 for some months now basically for thermodynamic
> calculations, and I have discovered memory leaks. I've installed 10
> extensions where 4 of them are accessing C++ code (with no leaks), and
> the 6 others are using MySQL to get some data. When I'm using XML-RPC
> from the client to access the functions I can see that the memory is
> eaten on the server. How it it possible for Zope to leak memory??
> When I'm cheking the memory it seems like the memory is constant for
> some time, but suddenly jumps up a few kb. Is this normal? Could it be
> that the garbage collector is not doing his job?

There is at least one leak in 2.5.1. Read the collector issue below, apply
the patch or upgrade to 2.6. If you are using xmlrpc, you might have to make
some small changes to work with 2.6.

http://collector.zope.org/Zope/421