Hi Wichert,

Thanks for your quick reply...

Wichert Akkerman wrote:
Previously Tim Hicks wrote:
Hi,

At the risk of pouring fuel on the "where does it hurt" fire, I'm interested in working with plone.app.content.

My reason being that for my application, Archetypes appears to be a huge drain on both disk and RAM resources - to the point that I'm frequently seeing MemoryError exceptions on my memory-constrained web host.

My application is actually a CMFBibliographyAT folder containing about 1500 bibliographic references. (There are no PDFs or anything else in there, just the references.) When I export this folder in the ZODB sense, the resulting file is about 24,000KB. When I export this folder to bibtex (which is a structured text representation for bibliographic references), the resulting file is about 1,400KB. This is very striking to me.

Question 1: Am I right to blame AT here?

Try a pack to see how large your database really is. Extra indexing and
other work during the import will inflate the ZODB.

My understanding (confirmed by Andreas Jung) is that my 'bibliography.zexp' file (i.e. the ZODB export of just my CMFBib folder) is automatically packed when it's exported. The 24,000KB file size I reported is for that file, not the (increase in the) size of my Data.fs after importing bibliography.zexp.

The evidence suggests that AT is quite 'heavy' in this respect.


As to the rest of your points: thanks :).


Tim

_______________________________________________
Product-Developers mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/product-developers

Reply via email to