C
Chen
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
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