-->
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: Help with Out of Memory Errors
PostPosted: Tue Aug 31, 2010 4:35 pm 
Newbie

Joined: Tue Aug 31, 2010 4:21 pm
Posts: 1
Hi All, something we are doing wrong in Hibernate is causing us to slowly exhaust our memory, and was hoping that someone could give some ideas on where to look to resolve.

The Memory Dump Diagnostic for Java tool, suggest that the likely suspect is a HashTable in the JTASessionContext. We are using CMT, so no specific transaction logic in our data access.

MDDJ specifies:
LEAK_ROOT as org.hibernate.impl.SessionFactoryObjectFactory
LEAK_CONTAINER as java.util.HashTable$Entry[]

I thought this might have something to do with the fact that we also set the isolation level to *NONE (needs to be done at the moment), and that maybe this was causing the transaction to not end (or never exist) keeping the session open...but a print of the statistics to the console shows that the sessions are getting closed.

We go through about 1gb of memory a week (100 users)

Does anyone have any suggestions on were to look?
Thanks for any help.
Kevin...


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.