RE: initial memory pool and maximum memory pool in Tomcat 6.x
> From: Tuan Quan [mailto:[EMAIL PROTECTED] > Subject: Re: initial memory pool and maximum memory pool in Tomcat 6.x > > but the question really is the relationship between Memory > Pool and Permgen, since some time my app will run out of Permgen. PermGen size is set separately from the Java heap, using the -XX:MaxPermSize parameter. If you really need to expand PermGen, use that; however, you may well have a memory leak in your application if it's hanging on to class references when it shouldn't: http://wiki.apache.org/tomcat/FAQ/Memory http://opensource.atlassian.com/confluence/spring/pages/viewpage.action?pageId=2669 - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: initial memory pool and maximum memory pool in Tomcat 6.x
Thanks, Leon My limitation is on RAM. but the question really is the relationship between Memory Pool and Permgen, since some time my app will run out of Permgen. thanks. From: Leon Rosenberg <[EMAIL PROTECTED]> To: Tomcat Users List Sent: Thursday, December 4, 2008 11:58:26 AM Subject: Re: initial memory pool and maximum memory pool in Tomcat 6.x Hello Tuan, On Thu, Dec 4, 2008 at 6:05 PM, Tuan Quan <[EMAIL PROTECTED]> wrote: > Dear all; > What is the advantage of setting both values to the same number? In case your server is short on memory it will try to increase the amount of used memory from start to max. In case the load is really heavy the vm can just throw an OutOfMemoryError even memory would be available. To prevent this unneeded runtime extension we tend to set both parameters to the same value. > My application run out Permgen memory, > If I set both memory pool to 1200MB, and Permgen - 256M, Tomcat will not > start. > but if memory pool to 900MB and Permgen to 256M, Tomcat start OK. > What are your real limitations, jdk version, os, ram? I remember that 11xx was max on older vms under windows. regards Leon - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: initial memory pool and maximum memory pool in Tomcat 6.x
Hello Tuan, On Thu, Dec 4, 2008 at 6:05 PM, Tuan Quan <[EMAIL PROTECTED]> wrote: > Dear all; > What is the advantage of setting both values to the same number? In case your server is short on memory it will try to increase the amount of used memory from start to max. In case the load is really heavy the vm can just throw an OutOfMemoryError even memory would be available. To prevent this unneeded runtime extension we tend to set both parameters to the same value. > My application run out Permgen memory, > If I set both memory pool to 1200MB, and Permgen - 256M, Tomcat will not > start. > but if memory pool to 900MB and Permgen to 256M, Tomcat start OK. > What are your real limitations, jdk version, os, ram? I remember that 11xx was max on older vms under windows. regards Leon - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
initial memory pool and maximum memory pool in Tomcat 6.x
Dear all; What is the advantage of setting both values to the same number? My application run out Permgen memory, If I set both memory pool to 1200MB, and Permgen - 256M, Tomcat will not start. but if memory pool to 900MB and Permgen to 256M, Tomcat start OK. thanks.