-
Bug
-
Resolution: Unresolved
-
P4
-
9
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
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
- relates to
-
JDK-8094119 Memory Leak in TabPane
- Closed