java.lang.OutOfMemoryError: Requested array size exceeds VM limit

ICEsoft JIRA Issue Tracker | Arran Mccullough | 2 months ago
  1. 0

    When rendering the provided PDF file, the following error is thrown which is preventing the content from displaying properly: WARNING: Error creating buffer, page: 0 java.lang.OutOfMemoryError: Requested array size exceeds VM limit at java.awt.image.DataBufferInt.<init>(DataBufferInt.java:75) at java.awt.image.Raster.createPackedRaster(Raster.java:467) at java.awt.image.DirectColorModel.createCompatibleWritableRaster(DirectColorModel.java:1032) at java.awt.GraphicsConfiguration.createCompatibleImage(GraphicsConfiguration.java:186) at org.icepdf.core.pobjects.ImageUtility.createTranslucentCompatibleImage(ImageUtility.java:142) at org.icepdf.core.pobjects.graphics.TilingPattern.paintPattern(TilingPattern.java:389) at org.icepdf.core.pobjects.graphics.commands.TilingPatternDrawCmd.paintOperand(TilingPatternDrawCmd.java:45) at org.icepdf.core.pobjects.graphics.Shapes.paint(Shapes.java:148) at org.icepdf.core.pobjects.Page.paintPageContent(Page.java:596) at org.icepdf.core.pobjects.Page.paint(Page.java:544) at org.icepdf.ri.common.views.PageViewComponentImpl.createBufferedPageImage(PageViewComponentImpl.java:973) at org.icepdf.ri.common.views.PageViewComponentImpl.access$400(PageViewComponentImpl.java:80) at org.icepdf.ri.common.views.PageViewComponentImpl$PagePainter.run(PageViewComponentImpl.java:1097) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745)

    ICEsoft JIRA Issue Tracker | 2 months ago | Arran Mccullough
    java.lang.OutOfMemoryError: Requested array size exceeds VM limit
  2. 0

    No more possible to associate a server

    Google Groups | 7 months ago | Julien Lancelot
    java.lang.RuntimeException: java.lang.OutOfMemoryError: Java heap space
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    OOM during javax.swing.JComponent.paint

    GitHub | 7 months ago | melvinzhang
    java.lang.OutOfMemoryError: Java heap space
  5. 0

    Image basics: read, scale, display, write

    Oracle Community | 1 decade ago | 843799
    java.lang.OutOfMemoryError: Java heap space

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.OutOfMemoryError

      Requested array size exceeds VM limit

      at java.awt.image.DataBufferInt.<init>()
    2. Java RT
      GraphicsConfiguration.createCompatibleImage
      1. java.awt.image.DataBufferInt.<init>(DataBufferInt.java:75)
      2. java.awt.image.Raster.createPackedRaster(Raster.java:467)
      3. java.awt.image.DirectColorModel.createCompatibleWritableRaster(DirectColorModel.java:1032)
      4. java.awt.GraphicsConfiguration.createCompatibleImage(GraphicsConfiguration.java:186)
      4 frames
    3. org.icepdf.core
      Page.paint
      1. org.icepdf.core.pobjects.ImageUtility.createTranslucentCompatibleImage(ImageUtility.java:142)
      2. org.icepdf.core.pobjects.graphics.TilingPattern.paintPattern(TilingPattern.java:389)
      3. org.icepdf.core.pobjects.graphics.commands.TilingPatternDrawCmd.paintOperand(TilingPatternDrawCmd.java:45)
      4. org.icepdf.core.pobjects.graphics.Shapes.paint(Shapes.java:148)
      5. org.icepdf.core.pobjects.Page.paintPageContent(Page.java:596)
      6. org.icepdf.core.pobjects.Page.paint(Page.java:544)
      6 frames
    4. org.icepdf.ri
      PageViewComponentImpl$PagePainter.run
      1. org.icepdf.ri.common.views.PageViewComponentImpl.createBufferedPageImage(PageViewComponentImpl.java:973)
      2. org.icepdf.ri.common.views.PageViewComponentImpl.access$400(PageViewComponentImpl.java:80)
      3. org.icepdf.ri.common.views.PageViewComponentImpl$PagePainter.run(PageViewComponentImpl.java:1097)
      3 frames
    5. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      3. java.lang.Thread.run(Thread.java:745)
      3 frames