Re: DOM memory management
"Sahu, Manoj" <[email protected]> Thu, 12 Dec 2002 13:44:03 +0100
| Newsgroups | gmane.comp.java.sun.xml.general |
|---|---|
| Message-ID | <[email protected]> |
DOM is a memory intensive parser. You could change the heap size for your VM by providing -mx parameter when you start your VM. Alternately, you could JDOM which needs much less memory than DOM. It uses the flyweight pattern for the memory management. I am not sure of DOM4J. -----Original Message----- From: yeoh meilin [mailto:[email protected]] Sent: Donnerstag, 12. Dezember 2002 12:08 To: [email protected] Subject: DOM memory management 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.