Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   Java (http://www.velocityreviews.com/forums/f30-java.html)
-   -   Memory Problem with JDBM's H-Tree (http://www.velocityreviews.com/forums/t146796-memory-problem-with-jdbms-h-tree.html)

Chen 10-08-2005 07:55 AM

Memory Problem with JDBM's H-Tree
 
Hi all,

Please help me out with this memory problem with JDBM's H-Tree, thanks
in advance.

I am using JDBM to develop my search system. While I load the data
into JDBM, I put them into HTree. After I add certain information, I
commit and then close RecordManager, and then I reload RecordManager
and HTree and add new data again.

Then I got a OutOfMemory Exception from JVM. I suppose this Exception
is due to huge H-Tree after certain amount of data. How can I take
care of H-Tree so that the H-Tree wouldn't be too huge in my memory?
Should I use two gdbm to take care of this? Or should I use two H-Tree
and check them one at a time?

Thank you very much for your help.

-CY



All times are GMT. The time now is 09:26 PM.

Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57