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
|