Thank you for all your suggestions. I did not wait till getting out of memory. I analyzed heap dumps continuous and find keeps on increasing the objects and also taking more memory so I stopped after half an hour. I want to know why StandardSessions are increasing. It is not happening in tomcat 5.5.28. See the attached image for the finding out what taking more memory. http://www.nabble.com/file/p25883072/Tomcat6.0.20-heap-analysis.png
Thanks, Kalpana Caldarale, Charles R wrote: > >> From: Curtis Garman [mailto:[email protected]] >> Subject: Re: Getting out of memory using tomcat 6.0.20 but works fine >> in tomcat 5.5.28 >> >> I believe the default amount of PermGenSpace in tomcat was reduced >> between 5 and 6... > > You believe incorrectly. Tomcat itself cannot affect the JVM heap > settings, since they're already established by the time any Tomcat logic > gets control. It is possible for the startup scripts to set heap size > values, but the ones distributed with Tomcat do not. It is theoretically > possible that Tomcat 6.0 requires a larger PermGen than 5.5 did, but I > have seen no evidence to support that (there is some evidence that the > opposite is true). > > Without more information about what portion of the heap is exhausted, this > is all speculation. Since an OOME is also thrown for a variety of > non-heap issues, this may not even be heap related. > > - 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] > > > -- View this message in context: http://www.nabble.com/Getting-out-of-memory-using-tomcat-6.0.20-but-works-fine-in-tomcat-5.5.28-tp25866219p25883072.html Sent from the Tomcat - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
