[Zope] Zope Eats Memory

sean.upton@uniontrib.com sean.upton@uniontrib.com
Thu, 25 Oct 2001 11:36:42 -0700


Are you using REQUEST.set() a lot?  I am (my presentation code,
unfortunately, uses these quite aggressively).  I have dtml that wraps other
DTML "core" presentation widgets, and I use <dtml-var "REQUEST.set('foo',
'')"> a lot.

Does anyone know if there is another, more graceful, way to pass parameters
from a wrapping dtml method to a dtml method it calls?

Also, slightly related, as I eventually plan to migrate this particular site
to ZPT: are there any issues with reference leaks with tal:define similar to
REUQEST.set() calls?

Sean

-----Original Message-----
From: Chris Gray [mailto:cpgray@library.uwaterloo.ca]
Sent: Thursday, October 25, 2001 11:14 AM
To: Peter Bengtsson
Cc: zope@zope.org
Subject: Re: [Zope] Zope Eats Memory


Aside from ZEO, I'm using only the Debian packages for Zope 2.3.3 and
ZMySQLDA.

Chris

On Thu, 25 Oct 2001, Peter Bengtsson wrote:

> Are you using the Photo product? The "old" one.
> I've got a product based on the Photo product, and I'm starting to suspect

> that there is something wrong there that eats memory.
> Just checking.
> 
> At 11:41 2001-10-25 -0400, you wrote:
> >I've been running Zope (with ZEO) on a Debian GNU/Linux box.  Just today
> >everything slowed to a crawl and it turned out that one python process
was
> >taking up 75% of system memory.  Stopping and restarting Zope cured the
> >problem.  I'm doing some caching of DTML pages and MySQL queries.
> >
> >Any idea why Zope would start doing this?  Are there any preventative
> >measures?
> >
> >Thanks,
> >Chris
> >
> >
> >
> >
> >_______________________________________________
> >Zope maillist  -  Zope@zope.org
> >http://lists.zope.org/mailman/listinfo/zope
> >**   No cross posts or HTML encoding!  **
> >(Related lists -
> >  http://lists.zope.org/mailman/listinfo/zope-announce
> >  http://lists.zope.org/mailman/listinfo/zope-dev )
> 
> 
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists - 
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )
> 


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