Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Hibernate Session Factories from org.springframework.orm.hibernate3.LocalSessionFactoryBean

 
chiranjeevi gunturu
Ranch Hand
Posts: 59
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
I need a big favor from you.

My application has memory leak problems. I was trying to find out and i see the problem with Hibernate Session Factories.
The console is showing that Hibernate Session Factories are created several times. Apparently it is going out of Memory.

Below are the logs am seeing. The same logs are continuing my console. Can anyone help/tell me why the session Factories are created continuously.
I see a file LocalSessionFactoryBean in the spring Jar file is running this. Also please see the applicationContext file below.

Thanks in advance!




Here is the applicationContext.xml that i have.





Thanks


 
chiranjeevi gunturu
Ranch Hand
Posts: 59
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Hi,
Can any one suggest me if any of the below settings need to modify to stop creating open session factories.

How would i know the session factories created a closed from logs? Thanks in advance!

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic