This week's giveaways are in the MongoDB and Jobs Discussion forums.
We're giving away four copies of Mongo DB Applied Patterns and 4 resume reviews from Five Year Itch and have the authors/reps on-line!
See this thread and this one for details.
The moose likes Java in General and the fly likes JVM default heap size Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of Mongo DB Applied Patterns this week in the MongoDB forum
or a resume review from Five Year Itch in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Java in General
Reply 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: 1112

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: 1112

Chenna,
The information you seek should be available from here
Good Luck,
Avi.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JVM default heap size
 
Similar Threads
java.lang.OutOfMemoryError
Reading Large Files
Default JVM Settings
Increasing JVM Heap size at run time
Memory Leaks and OutOfMemory