> From: Scott Mueller [mailto:[EMAIL PROTECTED] 
> Subject: Running out of memory too easily in Tomcat 6.0.16
> 
> I have a very small and simple Spring + Hibernate application

Once you throw Spring and Hibernate into the mix, nothing is simple.
 
> javax.servlet.ServletException: java.lang.OutOfMemoryError: 
> PermGen space

Somewhere, you're hanging onto references to objects or classes from the
prior deployments.  ThreadLocal usage is a typical way of doing this, as
are inappropriate references stored in a Session, but there's no limit
to programmer's inventiveness in creating memory leaks.

Read the FAQ:
http://wiki.apache.org/tomcat/FAQ/Memory

Especially this link from there:
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 start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to