On Fri, 3 Jun 2005, J. Wolfgang Kaltz wrote:

[ ... ]

>
>
>  > -Xmn100M -Xms500M -Xmx500M.
>
> Hmm, I don't know what exactly the effect of Xmn is. According to
> http://java.sun.com/docs/hotspot/VMOptions.html, this is to "Set the
> size of the young generation" which frankly sounds very mysterious to me
> ;) Did you find this option in some Lenya docu ?
>
> FWIW Here are the options I use :
> -Xms512M -Xmx512M
>

As far as i know at startup the jvm is segmenting the memory into
different generations. If an object is created it enters the "young"
generation part of the memory. Now garbage collection occurs in each
generation when the generation fills up. The young generations seems to be
of major importance because most of the objects stay in the younger
generation and "dies" before they were passed to older generations see:

http://java.sun.com/docs/hotspot/gc1.4.2/

Jann

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to