Re: DOM memory management
"Sahu, Manoj" <[email protected]> Thu, 12 Dec 2002 13:55:51 +0100
| Newsgroups | gmane.comp.java.sun.xml.general |
|---|---|
| Message-ID | <[email protected]> |
Here is an example for windows: "%JAVA_HOME%\bin\java" -hotspot -ms128m -mx192m -classpath %CLASSPATH% ... -----Original Message----- From: Nimbkar Mandar [mailto:[email protected]] Sent: Donnerstag, 12. Dezember 2002 13:52 To: [email protected] Subject: Re: DOM memory management How do you specify the -mx option while starting the JVM? -----Original Message----- From: Manoj.Sahu [mailto:[email protected]] Sent: Thursday, December 12, 2002 6:14 PM To: XML-INTEREST Subject: Re: DOM memory management 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. ----------------------------------------------------- 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.