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

Out of memory in mimimized state

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Cannot Reproduce
    • Affects Version/s: fx2.1
    • Fix Version/s: 7u6
    • Component/s: javafx
    • Labels:
    • Subcomponent:
      web

      Description

      The attached test throws OOME when minimized:
         [java] java.lang.AssertionError: java.util.concurrent.ExecutionException: java.lang.OutOfMemoryError: Java heap space
         [java] at com.sun.webpane.sg.prism.InvokerImpl.runOnRenderThread(InvokerImpl.java:71)
         [java] at com.sun.webpane.platform.graphics.WCRenderQueue.flush(WCRenderQueue.java:83)
         [java] at com.sun.webpane.platform.graphics.WCRenderQueue.addBuffer(WCRenderQueue.java:56)
         [java] at com.sun.webpane.platform.graphics.WCRenderQueue.fwkAddBuffer(WCRenderQueue.java:97)
         [java] at com.sun.webpane.platform.WebPage.twkUpdateContent(Native Method)
         [java] at com.sun.webpane.platform.WebPage.updateDirty(WebPage.java:371)
         [java] at com.sun.webpane.platform.WebPage.updateContent(WebPage.java:637)
         [java] at com.sun.javafx.sg.prism.NGWebView.update(NGWebView.java:52)
         [java] at javafx.scene.web.WebView.handleStagePulse(WebView.java:566)
         [java] at javafx.scene.web.WebView.access$100(WebView.java:59)
         [java] at javafx.scene.web.WebView$2.pulse(WebView.java:169)
         [java] at com.sun.javafx.tk.Toolkit.firePulse(Toolkit.java:354)
         [java] at com.sun.javafx.tk.quantum.QuantumToolkit.pulse(QuantumToolkit.java:457)
         [java] at com.sun.javafx.tk.quantum.QuantumToolkit$8.run(QuantumToolkit.java:324)
         [java] at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
         [java] at com.sun.glass.ui.win.WinApplication.access$100(WinApplication.java:29)
         [java] at com.sun.glass.ui.win.WinApplication$2$1.run(WinApplication.java:62)
         [java] at java.lang.Thread.run(Thread.java:619)
         [java] Caused by: java.util.concurrent.ExecutionException: java.lang.OutOfMemoryError: Java heap space
         [java] at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:222)
         [java] at java.util.concurrent.FutureTask.get(FutureTask.java:83)
         [java] at com.sun.webpane.sg.prism.InvokerImpl.runOnRenderThread(InvokerImpl.java:69)
         [java] ... 17 more
         [java] Caused by: java.lang.OutOfMemoryError: Java heap space
         [java] at com.sun.javafx.geom.Path2D.copyOf(Path2D.java:1492)
         [java] at com.sun.javafx.geom.Path2D.needRoom(Path2D.java:268)
         [java] at com.sun.javafx.geom.Path2D.quadTo(Path2D.java:340)
         [java] at com.sun.javafx.geom.Path2D.append(Path2D.java:816)
         [java] at com.sun.t2k.CompositeStrike.getOutline(CompositeStrike.java:303)
         [java] at com.sun.t2k.CompositeStrike.getOutline(CompositeStrike.java:274)
         [java] at com.sun.webpane.sg.prism.WCGraphicsPrismContext$11.doPaint(WCGraphicsPrismContext.java:751)
         [java] at com.sun.webpane.sg.prism.WCGraphicsPrismContext$Composite.paint(WCGraphicsPrismContext.java:1219)
         [java] at com.sun.webpane.sg.prism.WCGraphicsPrismContext.drawString(WCGraphicsPrismContext.java:720)
         [java] at com.sun.webpane.platform.graphics.GraphicsDecoder.decode(GraphicsDecoder.java:286)
         [java] at com.sun.webpane.platform.graphics.WCRenderQueue.decode(WCRenderQueue.java:67)
         [java] at com.sun.webpane.platform.graphics.WCRenderQueue.decode(WCRenderQueue.java:78)
         [java] at com.sun.webpane.platform.graphics.WCRenderQueue$1.run(WCRenderQueue.java:85)
         [java] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
         [java] at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
         [java] at java.util.concurrent.FutureTask.run(FutureTask.java:138)
         [java] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
         [java] at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
         [java] at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
         [java] at com.sun.prism.render.RenderJob.run(RenderJob.java:37)
         [java] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
         [java] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
         [java] at com.sun.javafx.tk.quantum.QuantumRenderer$PipelineRunnable.run(QuantumRenderer.java:97)
         [java] ... 1 more

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                vbaranov Vasiliy Baranov (Inactive)
                Reporter:
                peterz Peter Zhelezniakov (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported: