Re: [Zope-dev] Re: Catalog performance

2003-09-11 Thread Toby Dickenson
On Thursday 11 September 2003 03:03, John Barratt wrote: I think ghosts are only 'removed' after a restart, fyi, ghosts are removed from memory using reference counting. -- Toby Dickenson ___ Zope-Dev maillist - [EMAIL PROTECTED]

[Zope-dev] Re: Catalog performance

2003-09-10 Thread Seb Bacon
Nguyen Quan Son wrote: Hi, I have a problem with performance and memory consumption when trying to do some statistics, using following code: ... docs = container.portal_catalog(meta_type='Document', ...) for doc in docs: obj = doc.getObject() value = obj.attr ... With about 10.000

[Zope-dev] Re: Catalog performance

2003-09-10 Thread Simon Michael
John Barratt wrote: the problem (which seems likely) then you can ghostify the objects that were ghosts to begin with, and it will save memory (unless all those objects are already in cache). This is rather interesting, but I don't quite follow what's happening. If you can say a little more,

Re: [Zope-dev] Re: Catalog performance

2003-09-10 Thread John Barratt
Simon Michael wrote: John Barratt wrote: the problem (which seems likely) then you can ghostify the objects that were ghosts to begin with, and it will save memory (unless all those objects are already in cache). This is rather interesting, but I don't quite follow what's happening. If

[Zope-dev] Re: Catalog performance

2003-09-10 Thread Simon Michael
John - your post and the links helped a lot. Thanks! ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists -