Uploaded image for project: 'Directory ApacheDS'
  1. Directory ApacheDS
  2. DIRSERVER-2002

OutOfMemory error while loading more than 70K entries at once

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0-M17
    • Fix Version/s: 2.0.0-M18
    • Component/s: None
    • Labels:
      None

      Description

      Server is unable to inject more than 70-90k entries at a stretch even when
      sufficient(2GB max) heap memory was allocated.

      Most likely this is happening due to the CacheRecordManager's default
      cache size of 10k set in JdbmPartition.

        Activity

        Hide
        akiran Kiran Ayyagari added a comment -

        Yet another commit to address this http://svn.apache.org/r1632902.

        Show
        akiran Kiran Ayyagari added a comment - Yet another commit to address this http://svn.apache.org/r1632902 .
        Hide
        akiran Kiran Ayyagari added a comment -

        Found another place where CacheRecordManager is initialized, fixed it here http://svn.apache.org/r1624331.

        Show
        akiran Kiran Ayyagari added a comment - Found another place where CacheRecordManager is initialized, fixed it here http://svn.apache.org/r1624331 .
        Hide
        akiran Kiran Ayyagari added a comment -

        Fixed by reducing the page cache size from 10k to 2k.
        Tested with 100k entries and 1GB max heap size.

        http://svn.apache.org/r1624283.

        Show
        akiran Kiran Ayyagari added a comment - Fixed by reducing the page cache size from 10k to 2k. Tested with 100k entries and 1GB max heap size. http://svn.apache.org/r1624283 .

          People

          • Assignee:
            akiran Kiran Ayyagari
            Reporter:
            akiran Kiran Ayyagari
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development