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: OutOfMemoryError
PostPosted: Fri Dec 21, 2007 10:35 am 
Newbie

Joined: Mon Apr 17, 2006 6:18 pm
Posts: 12
Hello,

I'm fighting with an OutOfMemoryError. I have absolutly no idea whats wrong, but after profiling the heapdump I found a hint.

In the heap there is an SessionFactoryObjectFactory with a child of type FastHashMap. There are a lot entries, which seem to be the root of my OutOfMemory-problem.

Can anybody tell me, what does this SessionFactoryObjectFactory do, and what could be the cause, that it leaks memory?

Bye Michael


Top
 Profile  
 
 Post subject:
PostPosted: Fri Dec 21, 2007 12:57 pm 
Beginner
Beginner

Joined: Wed May 16, 2007 7:12 am
Posts: 41
Location: London
I think you might be loading a HUGE number of objects in some part of your code. like an infinite loop, or a select all on a database.

isolate the problem bit, then eliminate it.

_________________
Dinesh Mahadevan

Visit me at http://www.yelani.com/


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.