java.lang.OutOfMemoryError: Java heap space

userecho.com | 8 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.OutOfMemoryError

      Java heap space

      at java.awt.image.DataBufferByte.<init>()
    2. Java RT
      JPEGImageReader.read
      1. java.awt.image.DataBufferByte.<init>(DataBufferByte.java:92)[na:1.8.0_65]
      2. java.awt.image.ComponentSampleModel.createDataBuffer(ComponentSampleModel.java:445)[na:1.8.0_65]
      3. java.awt.image.Raster.createWritableRaster(Raster.java:941)[na:1.8.0_65]
      4. javax.imageio.ImageTypeSpecifier.createBufferedImage(ImageTypeSpecifier.java:1074)[na:1.8.0_65]
      5. javax.imageio.ImageReader.getDestination(ImageReader.java:2892)[na:1.8.0_65]
      6. com.sun.imageio.plugins.jpeg.JPEGImageReader.readInternal(JPEGImageReader.java:1071)[na:1.8.0_65]
      7. com.sun.imageio.plugins.jpeg.JPEGImageReader.read(JPEGImageReader.java:1039)[na:1.8.0_65]
      7 frames
    3. TwelveMonkeys :: ImageIO :: JPEG plugin
      JPEGImageReader.read
      1. com.twelvemonkeys.imageio.plugins.jpeg.JPEGImageReader.read(Unknown Source)[imageio-jpeg-3.1.0.jar.9208094017101121644.tmp:3.1.0]
      1 frame
    4. Java RT
      ImageReader.read
      1. javax.imageio.ImageReader.read(ImageReader.java:939)[na:1.8.0_65]
      1 frame
    5. Apache PDFBox
      PDStream.createInputStream
      1. org.apache.pdfbox.filter.DCTFilter.decode(DCTFilter.java:83)[pdfbox-2.0.0.jar.4880181557651869286.tmp:2.0.0]
      2. org.apache.pdfbox.cos.COSInputStream.create(COSInputStream.java:69)[pdfbox-2.0.0.jar.4880181557651869286.tmp:2.0.0]
      3. org.apache.pdfbox.cos.COSStream.createInputStream(COSStream.java:163)[pdfbox-2.0.0.jar.4880181557651869286.tmp:2.0.0]
      4. org.apache.pdfbox.pdmodel.common.PDStream.createInputStream(PDStream.java:235)[pdfbox-2.0.0.jar.4880181557651869286.tmp:2.0.0]
      4 frames
    6. org.apache.pdfbox
      PDImageXObject.<init>
      1. org.apache.pdfbox.pdmodel.graphics.image.PDImageXObject.<init>(PDImageXObject.java:147)[pdfbox-2.0.0.jar.4880181557651869286.tmp:2.0.0]
      1 frame
    7. Apache PDFBox
      PDResources.getXObject
      1. org.apache.pdfbox.pdmodel.graphics.PDXObject.createXObject(PDXObject.java:70)[pdfbox-2.0.0.jar.4880181557651869286.tmp:2.0.0]
      2. org.apache.pdfbox.pdmodel.PDResources.getXObject(PDResources.java:385)[pdfbox-2.0.0.jar.4880181557651869286.tmp:2.0.0]
      2 frames
    8. org.apache.pdfbox
      PDFRenderer.renderImageWithDPI
      1. org.apache.pdfbox.contentstream.operator.graphics.DrawObject.process(DrawObject.java:53)[pdfbox-2.0.0.jar.4880181557651869286.tmp:2.0.0]
      2. org.apache.pdfbox.contentstream.PDFStreamEngine.processOperator(PDFStreamEngine.java:815)[pdfbox-2.0.0.jar.4880181557651869286.tmp:2.0.0]
      3. org.apache.pdfbox.contentstream.PDFStreamEngine.processStreamOperators(PDFStreamEngine.java:472)[pdfbox-2.0.0.jar.4880181557651869286.tmp:2.0.0]
      4. org.apache.pdfbox.contentstream.PDFStreamEngine.processStream(PDFStreamEngine.java:446)[pdfbox-2.0.0.jar.4880181557651869286.tmp:2.0.0]
      5. org.apache.pdfbox.contentstream.PDFStreamEngine.processPage(PDFStreamEngine.java:149)[pdfbox-2.0.0.jar.4880181557651869286.tmp:2.0.0]
      6. org.apache.pdfbox.rendering.PageDrawer.drawPage(PageDrawer.java:189)[pdfbox-2.0.0.jar.4880181557651869286.tmp:2.0.0]
      7. org.apache.pdfbox.rendering.PDFRenderer.renderPage(PDFRenderer.java:208)[pdfbox-2.0.0.jar.4880181557651869286.tmp:2.0.0]
      8. org.apache.pdfbox.rendering.PDFRenderer.renderImage(PDFRenderer.java:139)[pdfbox-2.0.0.jar.4880181557651869286.tmp:2.0.0]
      9. org.apache.pdfbox.rendering.PDFRenderer.renderImageWithDPI(PDFRenderer.java:94)[pdfbox-2.0.0.jar.4880181557651869286.tmp:2.0.0]
      9 frames
    9. com.ubooquity.fileformat
      b.a
      1. com.ubooquity.fileformat.pdf.b.a(SourceFile:71)[Ubooquity.jar:1.10.1]
      2. com.ubooquity.fileformat.pdf.b.a(SourceFile:44)[Ubooquity.jar:1.10.1]
      2 frames
    10. com.ubooquity.b
      c.a
      1. com.ubooquity.b.c.a(SourceFile:58)[Ubooquity.jar:1.10.1]
      1 frame
    11. com.ubooquity.data
      a.b
      1. com.ubooquity.data.feeder.a.b(SourceFile:512)[Ubooquity.jar:1.10.1]
      2. com.ubooquity.data.feeder.a.c(SourceFile:470)[Ubooquity.jar:1.10.1]
      3. com.ubooquity.data.feeder.a.b(SourceFile:35)[Ubooquity.jar:1.10.1]
      3 frames