-->
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.  [ 1 post ] 
Author Message
 Post subject: SessionFactory -- takes up too much memory and sits idle
PostPosted: Wed Mar 24, 2004 7:01 pm 
Beginner
Beginner

Joined: Sat Nov 22, 2003 3:54 pm
Posts: 42
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


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

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.