Uploaded image for project: 'Islandora'
  1. Islandora
  2. ISLANDORA-1193

Bag generation fails when bags contain large FOXML datastreams

    Details

    • Type: Documentation
    • Status: Closed
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 7.x-1.5
    • Component/s: BagIt
    • Labels:
      None

      Description

      System throws NegativeArraySizeException and WebApplicationException errors when exporting large (> 250MB) FOXML datastreams in "archive" format.

      Test object:
      http://imgsrc.hubblesite.org/hu/db/images/hs-2003-11-a-full_tif.tif
      (285.99 MB)

      Please review the following discussions for complete details:

      FCREPO-944
      https://jira.duraspace.org/browse/FCREPO-944

      Stephen Bayliss' analysis of FCREPO-944:
      https://jira.duraspace.org/browse/FCREPO-944?focusedCommentId=20401&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-20401

      NegativeArraySizeException: Stress Testing Islandora Using Hubble's Greatest TIFFs:
      https://groups.google.com/d/topic/islandora/AS8GPGgn3Ow/discussion

      Adam Vessey's analysis:
      https://groups.google.com/d/msg/islandora/AS8GPGgn3Ow/B9_8RcHFFVAJ

      Github: Bag is not created for an object:
      https://github.com/Islandora/islandora_bagit/issues/8

      The link above mentions Fedora 3.6.2 being effected.

      On FCREPO-944, Benjamin Armintor "Started a feature branch. Needed to upgrade apache-codec to have access to Base64InputStream"
      https://github.com/fcrepo3/fcrepo/commit/2f67dd6334a025cd56ee162b70b48b2b30023e4c

      The issue can be nullified by discontinuing use of islandora_bagit's plugin_object_foxml.inc, or custom plugins which export FOXML.

        Attachments

          Activity

            People

            • Assignee:
              markj Mark Jordan
              Reporter:
              bradspry Brad Spry
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: