You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-users@xerces.apache.org by Robert Taylor <rt...@mulework.com> on 2002/02/09 03:36:47 UTC

Newbie: Limitations of Xerces

Greetings, I'm involved in project that must convert very large XML files
(several hundred Megs) into an HTML file and I was wondering if there are
any known limitations of Xerces when it comes to dealing with parsing large
XML files. Intuitively, I would think the limitation would be memory (since
we are reading them into a Document object).

BTW, I tried to reach the archives at http://archive.covalent.net/ but could
not get through. I'm on a dial up so it could be my connection. So I
apologize if this question has already been answered.

Thanks,

robert


---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-user-help@xml.apache.org


Re: Newbie: Limitations of Xerces

Posted by Andy Clark <an...@apache.org>.
Robert Taylor wrote:
> Greetings, I'm involved in project that must convert very large XML files
> (several hundred Megs) into an HTML file and I was wondering if there are
> any known limitations of Xerces when it comes to dealing with parsing large
> XML files. Intuitively, I would think the limitation would be memory (since
> we are reading them into a Document object).

As long as you're using SAX, there should be no theoretical
limit to the size of documents that you can process. However,
if your app "leaks" memory or if the JVM is very bad at
reclaiming memory, then you *might* run into problems. But
I don't think you will. DOM, on the other hand, is not a
valid solution for documents of the size that you're talking
about.

-- 
Andy Clark * andyc@apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-user-help@xml.apache.org