java.lang.OutOfMemoryError: Java heap space

JDK Bug System | Guixin Cheng | 10 months ago
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    If you go to a web page with many images, JavaFx WebView uses way too much heap to load the web page. For example, this particular web page has 340 images: JavaFx WebView takes around 6.7 GB of heap in order to render the page. Firefox takes around 500 MB. Here are some example heap overflow stacks if you only set you heaps to 2 GB or so: {code} Exception in thread "JavaFX Application Thread" java.lang.OutOfMemoryError: Java heap space at com.sun.javafx.iio.gif.GIFImageLoader2.decodePalette( at com.sun.javafx.iio.gif.GIFImageLoader2.load( at com.sun.javafx.iio.ImageStorage.loadAll( at com.sun.javafx.iio.ImageStorage.loadAll( at com.sun.javafx.webkit.prism.WCImageDecoderImpl.loadFrames( at com.sun.javafx.webkit.prism.WCImageDecoderImpl.loadFrames( at com.sun.javafx.webkit.prism.WCImageDecoderImpl.addImageData( at Method) at at$didFinishLoading$98( at$$Lambda$314/ Source) at com.sun.javafx.application.PlatformImpl.lambda$null$173( at com.sun.javafx.application.PlatformImpl$$Lambda$179/ Source) at Method) at com.sun.javafx.application.PlatformImpl.lambda$runLater$174( at com.sun.javafx.application.PlatformImpl$$Lambda$178/ Source) at$ at Method) at$null$148( at$$Lambda$167/ Source) at {code}

    JDK Bug System | 10 months ago | Guixin Cheng
    java.lang.OutOfMemoryError: Java heap space
  2. 0


    GitHub | 1 year ago | cyildirim
    java.lang.OutOfMemoryError: Java heap space
  3. 0

    java.lang.OutOfMemoryError: Java heap space

    GitHub | 4 months ago | coyun
    java.lang.OutOfMemoryError: Java heap space
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.OutOfMemoryError

      Java heap space

      at com.sun.javafx.iio.gif.GIFImageLoader2.decodePalette()
    2. com.sun.javafx
      1. com.sun.javafx.iio.gif.GIFImageLoader2.decodePalette(
      2. com.sun.javafx.iio.gif.GIFImageLoader2.load(
      3. com.sun.javafx.iio.ImageStorage.loadAll(
      4. com.sun.javafx.iio.ImageStorage.loadAll(
      5. com.sun.javafx.webkit.prism.WCImageDecoderImpl.loadFrames(
      6. com.sun.javafx.webkit.prism.WCImageDecoderImpl.loadFrames(
      7. com.sun.javafx.webkit.prism.WCImageDecoderImpl.addImageData(
      7 frames
    3. com.sun.webkit
      1. Method)
      3 frames