AppletTalk.com Forum Index AppletTalk.com
Java discussions newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Display Default Heap Size

 
Post new topic   Reply to topic    AppletTalk.com Forum Index -> JVM, native methods and hardware
View previous topic :: View next topic  
Author Message
Guest






PostPosted: Thu Sep 21, 2006 12:16 am    Post subject: Display Default Heap Size Reply with quote



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
Back to top
Ian Shef
Guest





PostPosted: Thu Sep 21, 2006 12:52 am    Post subject: Re: Display Default Heap Size Reply with quote



apiccirilli (AT) gmail (DOT) com wrote in news:1158779800.453216.194170
@b28g2000cwb.googlegroups.com:

Quote:
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 *
Back to top
Guest






PostPosted: Thu Sep 21, 2006 1:11 am    Post subject: Re: Display Default Heap Size Reply with quote



Ian Shef wrote:
Quote:
apiccirilli (AT) gmail (DOT) com wrote in news:1158779800.453216.194170
@b28g2000cwb.googlegroups.com:

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 *

Thanks for the quick reply. The default values aren't of too much help
I'm afraid - the machines I'm working with are on an academic cluster,
and the JVMs are not typical on the machines. The jconsole tool,
though, will be a big help. I found another way (albeit, somewhat
hacked) to get the default max heap - if you keep setting the Xms
option higher and higher, it will error when you go above the default
max heap value. However, I never knew too much about the jconsole tool
- I think that it will be helpful for a lot of other monitoring stuff
that I need to do soon. Thanks again!

Aaron
Back to top
IchBin
Guest





PostPosted: Thu Sep 21, 2006 2:48 am    Post subject: Re: Display Default Heap Size Reply with quote

Ian Shef wrote:
Quote:
apiccirilli (AT) gmail (DOT) com wrote in news:1158779800.453216.194170
@b28g2000cwb.googlegroups.com:

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.




If you want to monitor look at jconsole.exe

It resides your Java's install bin subdirectory.:



--
Thanks in Advance...
IchBin, Pocono Lake, Pa, USA http://weconsultants.phpnet.us
__________________________________________________________________________

'If there is one, Knowledge is the "Fountain of Youth"'
-William E. Taylor, Regular Guy (1952-)
Back to top
Display posts from previous:   
Post new topic   Reply to topic    AppletTalk.com Forum Index -> JVM, native methods and hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.