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

Ensemble8: memory leak in TabPaneApp

    XMLWordPrintable

    Details

      Description

      TabPaneApp from Ensemble8 fails with OutOfMemory error after 200 iterations.
      Each iteration is equivalent to starting new TabPaneApp (or clicking on it from the Ensemble8).

      It looks like the core issue is related to EventHandlers.
      Also replacing the line (from rt/apps/samples/Ensemble8/src/samples/java/ensemble/samples/controls/tab/tabpane/TabPaneApp.java)

      111: final RadioButton radioButton = new RadioButton(policy.name());
       to
      111: final RadioButton radioButton = new RadioButton();
      avoids the OOM.

      To reproduce the issue run attached Ensemble8AutoTest.java as:
      > javac -cp "..." Ensemble8AutoTest.java
      > java -Xmx64m -verbose:gc -cp "JFX_HOME/rt/lib/ext/jfxrt.jar;JFX_HOME/apps/ga-samples/Ensemble8.jar;./" ensemble.autotest.Ensemble8AutoTest

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              epavlova Ekaterina Pavlova
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Imported: