Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JVM default heap size

 
Chenna Krishna
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Guys,
any luck on this?
JVM Default heap size , minm and maxm..
cheers
chenna
 
Avi Abrami
Ranch Hand
Posts: 1141
1
Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1141
1
Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Chenna,
The information you seek should be available from here
Good Luck,
Avi.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic