-->
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 problem with CacheMode.IGNORE and second level cache
PostPosted: Tue May 27, 2008 3:06 am 
Newbie

Joined: Tue May 27, 2008 2:43 am
Posts: 1
Hello,

I want to save large amount of data in one transaction (large blobs) and at the same time to have enabled second level cache on the server. I have enabled the second level cache:

Code:
<property name="hibernate.cache.use_query_cache">true</property>


and I try to save data with piece of code similar to the code that is as an example in batch processing page in the manual doing session.flush() and session.clear() with CacheMode.IGNORE and FlushMode.MANUAL. The problem is that Hibernate consumes memory anyway (ActionQueue.executions).

Is there a way to minimize the memory consumption?

Regards,
Jakub


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.