On a side note:
If you're experiencing memory errors on Hibernate initialisation (the logs would verify)
Then I would Suggest setting Hibernate's lazy-init="true"

CAVEAT: If using in combination with Spring I would look at Session Management via OpenSessionInViewFilter

M--
This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email message is
addressed.  If you have received this email message in error, please notify
the sender immediately by telephone or email and destroy the original
message without making a copy.  Thank you.

----- Original Message ----- From: "Caldarale, Charles R" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <users@tomcat.apache.org>
Sent: Friday, June 01, 2007 9:44 AM
Subject: RE: permgen w hibernate and webapp reload


From: Rene Guenther [mailto:[EMAIL PROTECTED]
Subject: Re: permgen w hibernate and webapp reload

But those blog entries are the most entertaining ones:
http://my.opera.com/karmazilla/blog/2007/03/13/good-riddance-p
ermgen-outofmemoryerror
http://my.opera.com/karmazilla/blog/2007/03/15/permgen-strikes-back

They may be entertaining, but that's largely because the author's
premise is a fantasy: his statement that the default GC mechanism in the
HotSpot JVM never collects PermGen is simply false.  There is one
optional (somewhat experimental) GC mechanism that doesn't yet process
PermGen, but you probably shouldn't be playing with GC algorithm
selection unless you're really intimate with the code.

- 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]



---------------------------------------------------------------------
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