-->
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: memory question about the 'executions' field in SessionImpl
PostPosted: Thu Feb 26, 2004 10:18 am 
Newbie

Joined: Thu Feb 26, 2004 10:09 am
Posts: 1
Hi,

During a very long transaction (a massive data update on about 100 000 different objects), even with session.clear(), I noticed that the session was consuming more and more memory.
After investigations, it seems that the problem was coming from the SessionImpl.executeAll() method which adds to the 'executions' field an Executable object. The 'executions' field
is cleared only at the end of the transaction, which seems to be related
to some data coherency issue.
Why all the executable are kept till the end of the transaction?
Is there a way to get rid of these Executable objects?

Pierre


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.