Actually the problem gets worse as you increase the number of elements. I created 10,000 element and my memory usage was 6MB more. Thats like 600 bytes for every element with no data and repeating element name. I thought the idea of moving to xerces 2.x was to get a small footprint of DOM but it seems the problem is worse.
Does anyone have any suggestions. Thanks Kiran -----Original Message----- From: Bagepalli, Kiran [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 19, 2002 4:47 PM To: '[EMAIL PROTECTED]' Subject: CreateElement I did a sample test for creating a DOM tree and creating a 1000 elements underneath this. All the elements have the same name and have no element data. My memory usage goes up by 256K. This seems a little too much for holding 1000 elements. This means every DOMElement approx costs 256 bytes. Can anyone explain what is happening please. Thanks KIran --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
