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

Solutions on the web

java.lang.OutOfMemoryError: Java heap space
at java.awt.image.DataBufferByte.(DataBufferByte.java:76)
at java.awt.image.MultiPixelPackedSampleModel.createDataBuffer(MultiPixelPackedSampleModel.java:204)
at java.awt.image.Raster.createWritableRaster(Raster.java:944)
at javax.imageio.ImageTypeSpecifier.createBufferedImage(ImageTypeSpecifier.java:1074)
at javax.imageio.ImageReader.getDestination(ImageReader.java:2896)
at com.sun.imageio.plugins.png.PNGImageReader.readImage(PNGImageReader.java:1280)
at com.sun.imageio.plugins.png.PNGImageReader.read(PNGImageReader.java:1577)
at javax.imageio.ImageIO.read(ImageIO.java:1448)
at javax.imageio.ImageIO.read(ImageIO.java:1352)
at mobac.program.atlascreators.tileprovider.DownloadedTileProvider.getTileImage(DownloadedTileProvider.java:57)
at mobac.program.atlascreators.tileprovider.CacheTileProvider.internalGetTileImage(CacheTileProvider.java:87)
at mobac.program.atlascreators.tileprovider.CacheTileProvider$CachedTile.loadImage(CacheTileProvider.java:233)
at mobac.program.atlascreators.tileprovider.CacheTileProvider$PreLoadThread.run(CacheTileProvider.java:165)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

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