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

CCExport Java heap space OOM

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: CLOSED
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 12.7, 19.4
    • Fix Version/s: 20.1, 21.0
    • Component/s: Lessons
    • Labels:
      None
    • 20 status:
      Resolved
    • 19 status:
      Please Merge
    • Test Plan:
      Hide

      1. Upload a bunch of very large files to Lessons pages
      2. Attempt a CC Export

      Show
      1. Upload a bunch of very large files to Lessons pages 2. Attempt a CC Export

      Description

      org.sakaiproject.portal.api.PortalHandlerException: uk.org.ponder.util.UniversalRuntimeException: Error servicing SakaiRSF request
      --> Error invoking init method handle on bean rootHandlerBean
      --> Java heap space
          at org.sakaiproject.portal.charon.SkinnableCharonPortal.doGet(SkinnableCharonPortal.java:856)
      caused by: uk.org.ponder.util.UniversalRuntimeException: Error servicing SakaiRSF request
      --> Error invoking init method handle on bean rootHandlerBean
      --> Java heap space
          at java.util.Arrays.copyOf(Arrays.java:3236)
          at java.io.ByteArrayOutputStream.grow(ByteArrayOutputStream.java:118)
          at java.io.ByteArrayOutputStream.ensureCapacity(ByteArrayOutputStream.java:93)
          at java.io.ByteArrayOutputStream.write(ByteArrayOutputStream.java:153)
          at org.sakaiproject.portal.util.ServletByteOutputStream.write(ByteArrayServletResponse.java:225)
          at java.util.zip.DeflaterOutputStream.deflate(DeflaterOutputStream.java:253)
          at java.util.zip.DeflaterOutputStream.write(DeflaterOutputStream.java:211)
          at java.util.zip.ZipOutputStream.write(ZipOutputStream.java:331)
          at org.apache.commons.io.IOUtils.copyLarge(IOUtils.java:2147)
          at org.apache.commons.io.IOUtils.copy(IOUtils.java:2102)
          at org.apache.commons.io.IOUtils.copyLarge(IOUtils.java:2123)
          at org.apache.commons.io.IOUtils.copy(IOUtils.java:2078)
          at org.sakaiproject.lessonbuildertool.ccexport.CCExport.outputAllFiles(CCExport.java:424)
          at org.sakaiproject.lessonbuildertool.ccexport.CCExport.download(CCExport.java:1193)
          at org.sakaiproject.lessonbuildertool.ccexport.CCExport.doExport(CCExport.java:220)
      

        Gliffy Diagrams

          Zeplin

            Attachments

              Issue Links

                Activity

                  People

                  Assignee:
                  maintenanceteam Core Team
                  Reporter:
                  ottenhoff Sam Ottenhoff
                  Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                    Dates

                    Created:
                    Updated:
                    Resolved:

                      Git Integration