Uploaded image for project: 'DSpace'
  1. DSpace
  2. DS-2227

failed AIP import leaves files in assetstore

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.0, 6.0
    • Fix Version/s: 5.7, 6.1
    • Component/s: DSpace API
    • Labels:
      None
    • Attachments:
      0
    • Comments:
      5
    • Documentation Status:
      Complete or Committed

      Description

      Running AIP package import (in my case /dspace/bin/dspace packager -u -r -a -f -t AIP ...) is vulnerable to memory errors due to low implicit value of heap memory in the command line script (JAVA_OPTS="-Xmx256m -Dfile.encoding=UTF-8"). I encountered both
      java.lang.OutOfMemoryError: GC overhead limit exceeded
      and
      java.lang.OutOfMemoryError: Java heap space

      In both cases and in case when the command is terminated by Ctrl-C, the database transaction is aborted, but files are left in the assetstore. There should be a cleanup process to take care of them at next DSpace (CLI or webapp) startup. A list of files created (something akin to a mapfile) to revert an unsuccessful previous attempt to import.

        Attachments

          Activity

            People

            • Assignee:
              hardyoyo Hardy Pottinger
              Reporter:
              helix84 Ivan Masár
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: