by Ian Shef <invalid@[EMAIL PROTECTED]
>
Sep 20, 2006 at 07:52 PM
apiccirilli@[EMAIL PROTECTED]
wrote in news:1158779800.453216.194170
@[EMAIL PROTECTED]
> Hi all -
>
> I've scoured the internet for this and can't find any helpful
> information. Is there any way for the JVM to display the default
> maximum heap size on a system? I can't seem to figure out what it is
> using as its maximum value, if I don't manually override it with -Xmx.
>
> Any help would be really appreciated.
>
> Thanks -
>
> Aaron
>
>
The javadocs are your friend! It is documented in the javadoc for the
tool
"java".
For Windows, see:
http://java.sun.com/j2se/1.5.0/docs/tooldocs/windows/java.html
For Linux and Solaris, see:
http://java.sun.com/j2se/1.5.0/docs/tooldocs/solaris/java.html
If you don't believe the javadocs and have to see it for yourself...
With JDK version 1.5, you can use jconsole (also in the tool javadocs) to
provide the current and maximum heap size of a running VM.
--
Ian Shef 805/F6 * These are my personal opinions
Raytheon Company * and not those of my employer.
PO Box 11337 *
Tucson, AZ 85734-1337 *