Memory Problem with JDBM's H-Tree
Please help me out with this memory problem with JDBM's H-Tree, thanks
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.
|All times are GMT. The time now is 10:16 PM.|
Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.