[Zope3-dev] Zope3 memory mystery

Marius Gedminas mgedmin at b4net.lt
Sat Feb 19 07:50:59 EST 2005


On Sat, Feb 19, 2005 at 12:01:07AM -0500, Tim Peters wrote:
> [Marius Gedminas]
> > I saw the same thing on my Ubuntu Linux laptop.
> 
> I'm not clear on what "same thing" means.  Does it mean all 3 of:
> 
> 1. -u tests alone peak at ~140MB.
> 2. -f tests alone peak at ~90BM.
> 3. running all tests in one run peaks at > 400MB.
> 
> or just some subset of those 3 (and if so, which subset)?

Just (3), actually, but I will try checking for (1) and (2) now.

'python test.py -pvu zope' peaks at 147 MB
'python test.py -pvf zope' peaks at 106 MB
'python test.py -pv zope' peaks at 435 MB

> Any one of
> those alone isn't especially interesting, it's the combination all 3
> that's peculiar.

Ah, well, just (3) is somewhat interesting to me.

I am not that surprised that unit tests affect the behavior of
functional tests.  It could be, e.g., a unit test that registers a
component stub (e.g. a logger or a utility for accumulating data), and
then does not clean up after itself.

> > Apparently Jim did too:
> > http://zope3.pov.lt/irclogs/%23zope3-dev.2005-02-16.log.html#t2005-02-16T03:12:50
> 
> That's definitely not "same thing":  there's no clue there about #2
> above.  Of course I tried this because Jim mentioned that IRC chat to
> me.

And I thought "what a coincidence".  :-)

> As a result of that, I did a Zope3 checkin that chopped 200MB off
> the highwater mark when running the ZEO tests.

I was, however, not very explicit: when I said "all zope tests took over
400 MB of RAM", I meant "test -pv zope".  I assume that filters out ZEO
tests.

Marius Gedminas
-- 
This sentence contradicts itself -- no actually it doesn't.
                -- Douglas Hofstadter
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://mail.zope.org/pipermail/zope3-dev/attachments/20050219/a14800e3/attachment-0001.bin


More information about the Zope3-dev mailing list