-->
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.  [ 4 posts ] 
Author Message
 Post subject: Out Of memory
PostPosted: Wed Jun 29, 2005 9:22 am 
Regular
Regular

Joined: Wed Sep 22, 2004 8:27 am
Posts: 89
Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp

Hibernate version: 3.05



I read all post about "out of memory" on reload of webApp and i understood the problem is cglib and non gc of all objects.

Now i'm using:

-cglib-full-2.0.2.jar
-hibernate3.jar
-ehcache-1.1.jar
-log4j-1.2.9.jar
-odmg-3.0.jar
-c3p0-0.9.0.jar
-antlr.jar

and remove asm-cglib.jar

I try to download a new version of cglib 2.1.2 but when execute this:
Code:
sessionFactory = configuration.buildSessionFactory();


the code stopping.... with cglib-full-2.0.2 all is ok.

why?

Of course the main problem is the memory that during the reload of a webApp with tomcat, grow until arrive to a "Out of memory"


I saw the last versione of H3, H3.1 solve the problem?

thanks


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jun 29, 2005 11:00 am 
CGLIB Developer
CGLIB Developer

Joined: Thu Aug 28, 2003 1:44 pm
Posts: 1217
Location: Vilnius, Lithuania
I am afraid it is not a cglib problem, hibernate 3.05 proxy implementation does not use cglib class cache. Can you reproduce this problem in isolated test ?


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jun 29, 2005 11:10 am 
Regular
Regular

Joined: Wed Sep 22, 2004 8:27 am
Posts: 89
ok.. i'm you answer to my question...

but my real problem is about a reload of single web app and the grow of memory, after 3 or 4 or 5 reload i get an "out of memory"

the problem is just met in an another post without solution...

http://forum.hibernate.org/viewtopic.php?t=941783&highlight=memory+context

what do u think?


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jun 29, 2005 11:21 am 
Regular
Regular

Joined: Wed Sep 22, 2004 8:27 am
Posts: 89
foxmarco wrote:
ok.. i'm you answer to my question...

but my real problem is about a reload of single web app and the grow of memory, after 3 or 4 or 5 reload i get an "out of memory"

the problem is just met in an another post without solution...

http://forum.hibernate.org/viewtopic.php?t=941783&highlight=memory+context

what do u think?


ops sorry..

Quote:
ok.. i'm you answer to my question...

I'm happy you answer to my question...


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

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.