-->
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.  [ 2 posts ] 
Author Message
 Post subject: SessionFactories in SessionFactoryObjectFactory
PostPosted: Thu Feb 07, 2008 3:51 pm 
Newbie

Joined: Fri Dec 09, 2005 12:34 pm
Posts: 6
Hibernate version: 3.0.5

Hi guys,

I have a question about the SessionFactories being stored in the FastHashMap in the SessionFactoryObjectFactory class. Basically, we're seeing that HashMap get up to 200 MB in size which seems very strange... After some researching, I saw that it seems if an app is recycled, the SessionFactory it was using isn't deleted from the HashMap and isn't replaced by the new one that is created. I was wondering if that sounds accurate and if there's any way to get around this. Don't ask me why, but we can't access JNDI, so that's out of the question... Thanks

_________________
-------------------------------------------------------
"The effort of using machines to mimic the human mind has always struck me as rather silly. I would rather use them to mimic something better." - Edsger Dijkstra


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jun 03, 2008 1:57 pm 
Newbie

Joined: Fri Oct 12, 2007 6:32 pm
Posts: 3
I'm curious, how were you able to determine that the hash map was using 200+ MB??


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 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.