Re: DOM memory management

Jayson Falkner <[email protected]> Thu, 12 Dec 2002 11:51:21 +0000
Newsgroups gmane.comp.java.sun.xml.general
Message-ID <[email protected]>
Try giving the JVM more memory or handle the conversion using stream
(e.g. SAX). DOM is not good for representing large amounts of XML.
Understand this and know you can't use DOM for everything related to XML.

Cheers,
Jayson Falkner
[email protected]

yeoh meilin wrote:
> I'm doing a conversion program which convert a database to a xml file.  It
> is relatively a small database.  However, during conversion, i received a
> "out of memory" message from my java program.
>
> Has any one face this problem before?  can anyway advise me on the memory
> management of DOM???
>
> _________________________________________________________________
> The new MSN 8: smart spam protection and 2 months FREE*
> http://join.msn.com/?page=features/junkmail
>
> -----------------------------------------------------
> xml-interest: A list for discussing XML technologies in the Java Platform.
> To post, mailto:[email protected]
> Archives at: http://archives.java.sun.com/xml-interest.html
> To unsubscribe, mailto:[email protected] the following message;
> signoff xml-interest.
>
>

-----------------------------------------------------
xml-interest: A list for discussing XML technologies in the Java Platform.
To post, mailto:[email protected]
Archives at: http://archives.java.sun.com/xml-interest.html
To unsubscribe, mailto:[email protected] the following message;
signoff xml-interest.