-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: PermGen OutOfMemory Exception because of cglib dependency
PostPosted: Sat Jul 16, 2011 8:53 am 
Newbie

Joined: Sat Jul 16, 2011 8:43 am
Posts: 1
Hi,
I am using hibernate 3.3 with spring 3.x for the application. I found that there is serious problem with cglib because of memory leak. As suggested in lot of forums I tried removing dependency of cglib from hibernate, but lot of spring related jars are still referring to cglib and I am not able to solve the problem.

Because of cglib class meory leak, all the application classes not getting removed from memory, when I undeploy my web application.
Can some one suggest how can I remove cglib dependency with hibernate 3.3 and spring 3.x combination. I tried javassist also as suggested in few forums, but couldn't succeed.

We are using custom classloading technique in our application, because of this I think even those classes are also not getting cleaned up.
Please help me in resolving the issue.


Thanks
Santhosh


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.