Hi,
I have a web application which makes use of the Hibernate for accces to DB.
This is the configuration i am running.
Hibernate -2.1
RDBMS - DB28.1
OS- Red Hat Linux (AS 3.0)
2 GB RAM, 1CPU (2 machines - 1for JBOSS, 1 for DB2).
When my web application starts, at the time when the Hibernate tries to build up the SessionFactory, it creates a thread on the DB Server which takes up an enormous amount of memory on the DB Server (around 480MB) and after that it remains idle/sleep.
As soon as i undeploy my app , the memory frees up.
I have a datasource deployed on jboss, which Hibernate uses to make any connection.
Is there something i need to look into? Or what can be the possible reasons?
Any help will be really appreciated.
Thanks
|