java.lang.OutOfMemoryError: Java heap space

GitHub | GoogleCodeExporter | 2 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    error out of memory while generating image

    GitHub | 3 years ago | jluc2808
    java.lang.OutOfMemoryError: Java heap space
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    GitHub comment 1#124801905

    GitHub | 2 years ago | GoogleCodeExporter
    java.lang.OutOfMemoryError: Java heap space
  4. 0

    GitHub comment 69#124802304

    GitHub | 2 years ago | GoogleCodeExporter
    java.lang.OutOfMemoryError: Java heap space

    Root Cause Analysis

    1. java.lang.OutOfMemoryError

      Java heap space

      at java.awt.image.DataBufferByte.<init>()
    2. Java RT
      ImageReader.read
      1. java.awt.image.DataBufferByte.<init>(DataBufferByte.java:92)
      2. java.awt.image.ComponentSampleModel.createDataBuffer(ComponentSampleModel.java:415)
      3. java.awt.image.Raster.createWritableRaster(Raster.java:944)
      4. javax.imageio.ImageTypeSpecifier.createBufferedImage(ImageTypeSpecifier.java:1073)
      5. javax.imageio.ImageReader.getDestination(ImageReader.java:2896)
      6. com.sun.imageio.plugins.jpeg.JPEGImageReader.readInternal(JPEGImageReader.java:998)
      7. com.sun.imageio.plugins.jpeg.JPEGImageReader.read(JPEGImageReader.java:966)
      8. javax.imageio.ImageReader.read(ImageReader.java:940)
      8 frames
    3. net.coobird.thumbnailator
      Thumbnails$Builder.toFile
      1. net.coobird.thumbnailator.tasks.io.FileImageSource.read(Unknown Source)
      2. net.coobird.thumbnailator.tasks.SourceSinkThumbnailTask.read(Unknown Source)
      3. net.coobird.thumbnailator.Thumbnailator.createThumbnail(Unknown Source)
      4. net.coobird.thumbnailator.Thumbnails$Builder.toFile(Unknown Source)
      4 frames
    4. com.wp.util
      SecurityUtil.decryptImage
      1. com.wp.util.SecurityUtil.decryptImage(SecurityUtil.java:95)
      1 frame
    5. com.wp.android
      UploadEncryptedImage.doPost
      1. com.wp.android.UploadEncryptedImage.doPost(UploadEncryptedImage.java:93)
      1 frame
    6. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:646)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
      2 frames
    7. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      2 frames
    8. Tomcat WS
      WsFilter.doFilter
      1. org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
      1 frame
    9. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      2 frames
    10. com.wp.filter
      MyFilter.doFilter
      1. com.wp.filter.MyFilter.doFilter(MyFilter.java:190)
      1 frame
    11. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
      4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
      5. org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
      6. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
      7. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
      8. org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
      9. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
      10. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
      10 frames