Re: DOM memory management
Niedenzu Paul <[email protected]> Thu, 12 Dec 2002 14:05:31 +0100
| Newsgroups | gmane.comp.java.sun.xml.general |
|---|---|
| Message-ID | <[email protected]> |
My Windows VM gives the following help:
C:\>java -X
-Xmixed mixed mode execution (default)
-Xint interpreted mode execution only
-Xbootclasspath:<directories and zip/jar files separated by ;>
set search path for bootstrap classes and resources
-Xbootclasspath/a:<directories and zip/jar files separated by ;>
append to end of bootstrap class path
-Xbootclasspath/p:<directories and zip/jar files separated by ;>
prepend in front of bootstrap class path
-Xnoclassgc disable class garbage collection
-Xincgc enable incremental garbage collection
-Xloggc:<file> log GC status to a file with time stamps
-Xbatch disable background compilation
-Xms<size> set initial Java heap size
<--------------------------------
-Xmx<size> set maximum Java heap size
-Xss<size> set java thread stack size
-Xprof output cpu profiling data
-Xrunhprof[:help]|[:<option>=<value>, ...]
perform JVMPI heap, cpu, or monitor profiling
-Xdebug enable remote debugging
-Xfuture enable strictest checks, anticipating future default
-Xrs reduce use of OS signals by Java/VM (see
documentation)
-Xcheck:jni perform additional checks for JNI functions
The -X options are non-standard and subject to change without notice.
"Sahu, Manoj"
<Manoj.Sahu@WIREC To: [email protected]
ARD.COM> cc:
Sent by: XML Subject: Re: DOM memory management
technologies in
the Java Platform
<XML-INTEREST@JAV
A.SUN.COM>
12-12-2002 13:55
Please respond to
XML technologies
in the Java
Platform
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.
-----------------------------------------------------
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.