-->
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: Large database, out of memory
PostPosted: Wed Dec 05, 2012 9:05 am 
Newbie

Joined: Fri Nov 23, 2012 8:26 am
Posts: 2
Hi everyone,

I am using Hibernate with Oracle Database with Java.

I have some trouble with the memory.

I have one-to-many association (Table A and Table B) and a huge database ( xxx k of Table B's element )
each day, the data from the Table B will grow ( +200k / day ).
During the data processing, I am doing a tableA.add(tableB elementB) which add a new element of Table B in the Set of one element of Table A.

My association is a lazy one and so when i am doing this, hibernate do the select * query which make me get a beautiful Out of memory exception.
Do you have any suggestion ?


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.