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

Exporting workspaces with large Binary values runs out of memory

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • 2.7.0.Final, 3.0.0.Alpha1
    • 2.6.0.Final
    • JCR
    • None
    • Workaround Exists
    • Hide

      A workaround is to use multiple exports, where each export only covers a subset of the workspace's content. After each export, refresh the session to allow the already-read content to be garbage collected.

      Show
      A workaround is to use multiple exports, where each export only covers a subset of the workspace's content. After each export, refresh the session to allow the already-read content to be garbage collected.

      Exporting a workspace that has a lot of large binary values can result in out-of-memory errors, since the binary values are held in memory. (See MODE-1346 for improvements within the 3.x codebase.) While it'd be very difficult to change how the binary values are handled in 2.x, it should still be possible to modify the export logic to prevent holding all workspace content in-memory.

            rhauch Randall Hauch (Inactive)
            rhauch Randall Hauch (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: