Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-21923

Sakai archives can't support files that are larger 2Gb

    Details

    • Type: Bug
    • Status: RESOLVED
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.8.2, 2.9.0, 10.0
    • Fix Version/s: 11.0
    • Component/s: Site Archive (Admin)
    • Labels:
      None

      Description

      While looking though some code I say that when merging resources from an archive Sakai attempts to pull the files into byte arrays. This doesn't work if the file is more than 2Gb as arrays in Java can't be any longer than Integer.MAX_VALUE.

      Really the code should just use streams.

      See org.sakaiproject.content.impl.BaseContentService.mergeResource(Element, byte[])

        Gliffy Diagrams

          Zeplin

            Attachments

              Issue Links

                Activity

                  People

                  Assignee:
                  jonespm Matthew Jones
                  Reporter:
                  buckett Matthew Buckett
                  Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                    Dates

                    Created:
                    Updated:
                    Resolved:

                      Git Integration