Java -Xms initial size effects

Posted by SyBer on Stack Overflow See other posts from Stack Overflow or by SyBer
Published on 2010-03-28T08:41:14Z Indexed on 2010/03/28 8:43 UTC
Read the original article Hit count: 409

Filed under:
|
|
|

Hi.

What is the benefit of setting the -Xms parameter, and having the initial memory larger for example, then the default calculated one (64 MB in my case, according to Java GC tunning: http://java.sun.com/javase/technologies/hotspot/gc/gc_tuning_6.html#par_gc.ergonomics.default_size)?

Also, is there any good to setting both the initial and maximum memories to same size?

Thanks.

© Stack Overflow or respective owner

Related posts about java

Related posts about garbage-collection