Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8089344

JFXPanel + WebView + Google Maps -> OutOfMemoryError or JVM crash

    Details

    • Type: Bug
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 7u7
    • Fix Version/s: tbd
    • Component/s: javafx
    • Labels:
    • Environment:

      Windows XP SP3 32bit - Java Version 1.7.0_07

    • Subcomponent:
      web

      Description

      When using the SimpleSwingBrowser (http://docs.oracle.com/javafx/2/swing/SimpleSwingBrowser.java.htm) to display https://maps.google.com and move the map around, eventually either an OutOfMemoryError or JVM crash occurs. This also happens when using the embedded google-maps view like on this page: http://www.cofely-gdfsuez.nl/nl/over-cofely/vestigingen.html

      The OOME seems to be caused by very high memory usage of WCImgDecoderImpl instances when moving the google map, espeically when in Hybrid mode. This is probably related to bug RT-29014 and RT-26621.

      When I increase the memory with vm argument -XmX, the OOME does not accur, but the VM still eventually crashes when dragging the map. This makes me think that it might be unrelated to the memory problem.

      The crash always occurs at these frames:
      Stack: [0x17770000,0x177c0000], sp=0x177be5c8, free space=313k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      C 0x247a3255

      Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
      J com.sun.webpane.platform.WebPage.twkProcessMouseEvent(JIIIIIIIZZZZZF)Z

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              nlodewijkjfx Nick Lodewijks (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Imported: