You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by jh_Zzz <jh...@hotmail.com> on 2004/07/13 05:55:07 UTC
A question about DOM
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
Re: A question about DOM
Posted by Gareth Reakes <ga...@parthenoncomputing.com>.
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: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org