Uploaded image for project: 'ModeShape'
  1. ModeShape
  2. MODE-1787

Out of Memory error when performing bulk load

    XMLWordPrintable

Details

    • Hide

      The workaround is to use multiple sessions and to split the nodes among those sessions.

      Show
      The workaround is to use multiple sessions and to split the nodes among those sessions.

    Description

      When a bulk import is performed into an empty repository (aprox. 1.5 million items) via a single session an OutOfMemoryError is raised.

      Based on initial investigations (see forum reference) the problem is caused by the JCR layer where at least a couple of hard references are being held:

      • org.modeshape.jcr.AbstractJcrItem has a hard reference to the session
      • JcrSession has a map of jcr nodes

      Attachments

        Activity

          People

            Unassigned Unassigned
            hchiorean Horia Chiorean (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: