JVM parameters  
Author Message
michael.kelleher





PostPosted: 2004-8-18 22:08:00 Top

java-programmer, JVM parameters When using the parameters:
-Xms32m -Xmx200m

What exactly does this do in terms of how much memory is allocated to
the JVM from the system?

Does it initially allocate 32m to the JVM and allow it to grow to 200m
over time? Or does it allocate 200m initially?

Thanks.
 
Chris Smith





PostPosted: 2004-8-18 23:13:00 Top

java-programmer >> JVM parameters MJK wrote:
> When using the parameters:
> -Xms32m -Xmx200m
>
> What exactly does this do in terms of how much memory is allocated to
> the JVM from the system?
>
> Does it initially allocate 32m to the JVM and allow it to grow to 200m
> over time? Or does it allocate 200m initially?

The former. Remember, though, that this refers to the heap size; it
doesn't include the space for the JVM code, application code, JIT'ed
code, thread stacks, etc. You can expect an actual application memory
size substantially larger than 32 MB at startup.

--
www.designacourse.com
The Easiest Way to Train Anyone... Anywhere.

Chris Smith - Lead Software Developer/Technical Trainer
MindIQ Corporation