Uploaded image for project: 'OpenDJ'
  1. OpenDJ
  2. OPENDJ-3212

java.lang.OutOfMemoryError occurred during upgrade

    Details

    • Support Ticket IDs:

      Description

      When we are upgrading Opendj from 2.4.4 to 3.0.0 version, java.lang.OutOfMemoryError occured.

      Below is the error in cases:

      1. When enabling index size

      An error occurred while parsing the command-line arguments: The provided
      argument "set-local-db-index-prop" is not recognized

      Exception in thread "main" java.lang.OutOfMemoryError
      at sun.misc.Unsafe.allocateMemory(Native Method)
      at org.opends.server.backends.pluggable.OnDiskMergeImporter$BufferPool$OffHeapBuffer.<init>(OnDiskMergeImporter.java:2858)
      at org.opends.server.backends.pluggable.OnDiskMergeImporter$BufferPool.<init>(OnDiskMergeImporter.java:2780)
      at org.opends.server.backends.pluggable.OnDiskMergeImporter$StrategyImpl.rebuildIndex(OnDiskMergeImporter.java:312)
      at org.opends.server.backends.pluggable.OnDiskMergeImporter$StrategyImpl.rebuildIndex(OnDiskMergeImporter.java:275)
      at org.opends.server.backends.pluggable.BackendImpl.rebuildBackend(BackendImpl.java:806)
      at org.opends.server.tools.RebuildIndex.rebuildIndex(RebuildIndex.java:559)
      at org.opends.server.tools.RebuildIndex.processLocal(RebuildIndex.java:321)
      at org.opends.server.tools.tasks.TaskTool.process(TaskTool.java:362)
      at org.opends.server.tools.RebuildIndex.process(RebuildIndex.java:228)
      at org.opends.server.tools.RebuildIndex.mainRebuildIndex(RebuildIndex.java:138)
      at org.opends.server.tools.RebuildIndex.main(RebuildIndex.java:110)
      problem rebuilding index..

      2.restore of the from-state LDAP DB

      Exception in thread "main" java.lang.OutOfMemoryError
      at sun.misc.Unsafe.allocateMemory(Native Method)
      at org.opends.server.backends.pluggable.OnDiskMergeImporter$BufferPool$OffHeapBuffer.<init>(OnDiskMergeImporter.java:2858)
      at org.opends.server.backends.pluggable.OnDiskMergeImporter$BufferPool.<init>(OnDiskMergeImporter.java:2780)
      at org.opends.server.backends.pluggable.OnDiskMergeImporter$StrategyImpl.importLDIF(OnDiskMergeImporter.java:203)
      at org.opends.server.backends.pluggable.BackendImpl.importLDIF(BackendImpl.java:689)
      at org.opends.server.tools.ImportLDIF.processLocal(ImportLDIF.java:1092)
      at org.opends.server.tools.tasks.TaskTool.process(TaskTool.java:362)
      at org.opends.server.tools.ImportLDIF.process(ImportLDIF.java:292)
      at org.opends.server.tools.ImportLDIF.mainImportLDIF(ImportLDIF.java:147)
      at org.opends.server.tools.ImportLDIF.main(ImportLDIF.java:110)

      Problem in execution of the restore of the from-state LDAP DB, with return code : 0 .
      Cannot continue with the upgrade, exiting

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              epasraj Rajasekhar Pasupula [X] (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: