Memory Problem with JDBM's H-Tree

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,767
Messages
2,569,570
Members
45,045
Latest member
DRCM

Latest Threads

Top