gc new capacity of JVM is gradually reducing when webapp(tomcat) started

2010-04-21 Thread
hi,all there is a problem with my webapp. by manual configuration, i allocated 1G(1024M) memory for webapp. where the gc new capacity automatically is 262M, the gc old capacity automatically is 699M, S0/S1 automatically is 43.6M/43.6M. When my webapp is started, I use the jvm's own

Re: gc new capacity of JVM is gradually reducing when webapp(tomcat) started

2010-04-21 Thread Mercy
Hi, You could add a JVM runtime parameter like this : -Xmn256M to fix the size of new generation. Kind regards, Mercy 塗 wrote: hi,all there is a problem with my webapp. by manual configuration, i allocated 1G(1024M) memory for webapp. where the gc new capacity automatically is 262M, the

Re: gc new capacity of JVM is gradually reducing when webapp(tomcat) started

2010-04-21 Thread Peter Crowther
This says that the JVM is tuning its memory boundaries to best suit your application. Do you have any evidence that this is bad for your application? Or are you simply trying to find out why it is happening? - Peter 2010/4/21 塗 sesfei2...@yahoo.co.jp hi,all there is a problem with my