aspose file tools*
The moose likes Java in General and the fly likes JVM default heap size Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "JVM default heap size" Watch "JVM default heap size" New topic
Author

JVM default heap size

Chenna Krishna
Ranch Hand

Joined: Dec 13, 2002
Posts: 34
Guys,
any luck on this?
JVM Default heap size , minm and maxm..
cheers
chenna
Avi Abrami
Ranch Hand

Joined: Oct 11, 2000
Posts: 1134

Hi Chenna,
Have you read the javadoc for the "java" command? Read the description for the -Xmsn and -Xmxn options.
I didn't see any mention in your post of which java version or platform you are using, but here is a quote from the Windows 1.4.1 version:

-Xmsn
The default value is 2MB.

Good Luck,
Avi.
Chenna Krishna
Ranch Hand

Joined: Dec 13, 2002
Posts: 34
Hi Abi,
thanks for that..
I am using java version "1.3.1" and the OS is Unix
then what's the minmm default heap size..
Thanks in advance.
Chenna
[ June 24, 2003: Message edited by: Chenna Krishna ]
Avi Abrami
Ranch Hand

Joined: Oct 11, 2000
Posts: 1134

Chenna,
The information you seek should be available from here
Good Luck,
Avi.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: JVM default heap size