java.lang.OutOfMemoryError

Requested array size exceeds VM limit

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web2125

  • Requested array size exceeds VM limit
  • Requested array size exceeds VM limit
  • Requested array size exceeds VM limit
  • Stack trace

    • 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)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 11 months ago