Hi,

how many is a few nodes? When you say the XML document is 2M, do you mean the xml file itself? If so then 15M in memory is not unexpected.

Gareth

On 13 Jul 2004, at 4:55, jh_Zzz wrote:

Hi There,
 
I am using xerces to parse a XML document and return a DomDocument object, my question is:
 
When the xml document is about only several nodes, there is no problem, but after I add some data, the application will use about 15M memory. (xml document is about 2M at this moment).
 
How to solve this type problem, split the xml files to more files? but this will cause hard to query. 
 
Thansk fro your great help
Jack


--
Gareth Reakes, Managing Director      Parthenon Computing
+44-1865-811184                  http://www.parthcomp.com


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to