Re: [Zope-dev] Memory problems with ParsedXML ?

2001-04-06 Thread Karl Anderson
Godefroid Chapelle [EMAIL PROTECTED] writes: Karl Anderson a crit : Another thing to keep in mind is that the ParsedXML *product* is a DOM tree and a management interface around it. The management interface only gives you a convenient UI and a place to store a few bits that the DOM

Re: [Zope-dev] Memory problems with ParsedXML ?

2001-04-02 Thread Godefroid Chapelle
Karl Anderson a crit : I didn't think that anyone would want to see a management screen with 2500 ParsedXML instances - or 2500 instances of anything - at one time. Have you tried using a BTree folder? BTree Folder is working very nicely... Another thing to keep in mind is that the

[Zope-dev] Memory problems with ParsedXML ?

2001-03-28 Thread Godefroid Chapelle
Hi, I have imported about 2500 xml files in ParsedXML objects through the use of : manage_addProduct['ParsedXML'].manage_addParsedXML(id, '', xmlString) This works perfectly. But when trying to browse the folder containing the ParsedXML instances, a whole lot of memory is used by Zope and it

Re: [Zope-dev] Memory problems with ParsedXML ?

2001-03-28 Thread Godefroid Chapelle
Karl Anderson a crit : Hm, it's been pointed out to me that the inefficiency of the get_size method of ParsedXML is compounded with many instances because the standard management interface uses it. It's possible that some stuff isn't getting garbage collected until the transaction is