java.lang.OutOfMemoryError: Java heap space

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via incubator-pdfbox-users by spring@gmx.eu, 4 months ago
via pdfbox-users by spring@gmx.eu, 1 year ago
via pdfbox-users by spring@gmx.eu, 1 year ago
java.lang.OutOfMemoryError: Java heap space
at java.awt.image.DataBufferInt.(Unknown Source)
at java.awt.image.Raster.createPackedRaster(Unknown Source)
at java.awt.image.DirectColorModel.createCompatibleWritableRaster(Unknown Source)
at java.awt.image.BufferedImage.(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 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)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.