java.lang.OutOfMemoryError

Java heap space

Samebug tips0

There are no available Samebug tips.

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

Solutions on the web116

  • via GitHub by Cernelius
    ,
  • via mobac by isaacmg
    ,
  • Stack trace

    • java.lang.OutOfMemoryError: Java heap space at java.awt.image.DataBufferInt.<init>(Unknown Source) at java.awt.image.Raster.createPackedRaster(Unknown Source) at java.awt.image.DirectColorModel.createCompatibleWritableRaster(Unknown Source) at java.awt.image.BufferedImage.<init>(Unknown Source) at sun.java2d.loops.GraphicsPrimitive.convertFrom(Unknown Source) at sun.java2d.loops.GraphicsPrimitive.convertFrom(Unknown Source) at sun.java2d.loops.MaskBlit$General.MaskBlit(Unknown Source) at sun.java2d.loops.Blit$GeneralMaskBlit.Blit(Unknown Source) at sun.java2d.pipe.DrawImage.blitSurfaceData(Unknown Source) at sun.java2d.pipe.DrawImage.renderImageCopy(Unknown Source) at sun.java2d.pipe.DrawImage.copyImage(Unknown Source) at sun.java2d.pipe.DrawImage.copyImage(Unknown Source) at sun.java2d.pipe.ValidatePipe.copyImage(Unknown Source) at sun.java2d.SunGraphics2D.drawImage(Unknown Source) at sun.java2d.SunGraphics2D.drawImage(Unknown Source) at games.strategy.triplea.ui.screen.drawable.DecoratorDrawable.draw(DecoratorDrawable.java:25) at games.strategy.triplea.ui.screen.Tile.draw(Tile.java:124) at games.strategy.triplea.ui.screen.Tile.getImage(Tile.java:80) at games.strategy.triplea.ui.MapPanel.print(MapPanel.java:476) at games.strategy.triplea.ui.menubar.ExportMenu.saveScreenshot(ExportMenu.java:216) at games.strategy.triplea.ui.menubar.ExportMenu.lambda$saveScreenshot$609(ExportMenu.java:180)

    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 visitor
    Unknown visitor1 times, last one,