Pawel Lewicki wrote:

Class Name                   Count    TBytes    Pct AvgSize
-------------------------- ------- ---------  ----- -------
...
OFS.Folder.Folder             2731 7177565156  95.4% 2628182.04

The only reference to folder I have is: folder.manage_addProduct['ExternalFile'].addExternalFile(filename, '', '',filepath, '',file)

Well yes, you're adding an external file to the folder. That changes the folder, so a new copy of it will get written to the ZODB, hence the growth you're seeing.

try using a BTreeFolder2 or similar for whatever 'folder' is...

cheers,

Chris

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

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

Reply via email to