-->
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: Lots of DTOs in IdentityMap
PostPosted: Mon Oct 11, 2010 1:07 pm 
Newbie

Joined: Mon Oct 11, 2010 1:02 pm
Posts: 2
Hi all,

I'm loading a lot of objects in one of my queries, which results in a huge memory allocation in hibernate's IdentityMap, as I've seen in a profiler.

How can I get rid of that objects? The best would be not to insert them in that Map at all. I'm pretty sure I don't need those objects, as I only want to load a lot of objects in one transaction and that's it.

I've already tried to set the query readOnly - but that didn't help.

Thanks a lot,

Haemi


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.