-->
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: Excessive JVM Heap Utilization
PostPosted: Thu Jun 14, 2007 6:18 am 
Newbie

Joined: Thu Jun 14, 2007 6:15 am
Posts: 1
We have a middleware application that publishes web services using Axis, and also accesses database using Hibernate and JMS. spring is used as teh underlying framework

The application is deployed on WebSphere Application Server 5.1, and at runtime after a few transactions, results in Out Of Memory exception. The logs have been sent to IBM for analysis, and after numerous tweaks and configurations, it was apparent that the that the org/hibernate/impl/SessionFactoryObjectFactory uses about
956MB of JVM heap memory.

If possible could you perhaps advice as to what causes the SessionFactoryObjectFactory to hold that much of memory ?


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jun 14, 2007 6:31 am 
Regular
Regular

Joined: Mon Mar 26, 2007 12:38 am
Posts: 119
Hi,
a guess.......!
clear the session often.

With time, it is very likely for Hibernate Session to get bloated with persistent objects.
This is one of the common reasons for out of memory exceptions.

--------------------------------------
Rate the reply if you find it helpful


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.