Memory Problem with JDBM's H-Tree

Discussion in 'Java' started by Chen, Oct 8, 2005.

  1. Chen

    Chen Guest

    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
    Chen, Oct 8, 2005
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Mike

    jigsaw's jdbm

    Mike, Jun 27, 2003, in forum: Java
    Replies:
    0
    Views:
    925
  2. Ramkumar Menon

    B+ Tree versus Ternary Search Tree

    Ramkumar Menon, Aug 16, 2005, in forum: Java
    Replies:
    2
    Views:
    1,585
    Roedy Green
    Aug 16, 2005
  3. Ramkumar Menon

    B+ Tree versus Ternary Search Tree

    Ramkumar Menon, Aug 16, 2005, in forum: Java
    Replies:
    0
    Views:
    422
    Ramkumar Menon
    Aug 16, 2005
  4. Ramkumar Menon

    B+ Tree versus Ternary Search Tree

    Ramkumar Menon, Aug 16, 2005, in forum: Java
    Replies:
    1
    Views:
    439
    Andrew Thompson
    Aug 16, 2005
  5. Stub

    B tree, B+ tree and B* tree

    Stub, Nov 12, 2003, in forum: C Programming
    Replies:
    3
    Views:
    10,091
Loading...

Share This Page