-
Bug
-
Resolution: Fixed
-
P2
-
fx2.0
ListViewMemTest which creates new ListView on each pulse and removes
previously created one fails with OOM after ~182,000 iterations.
Memory Analyzer shows the memory leak is in com.sun.javafx.tk.quantum.PaintRunnable
and is because root.removed elements are not cleared. As result they occupy all heap and
application fails with OOM.
Please see also memory profiles attached.
To run the test do:
1) compile ListViewMemTest
2) java -cp "jfxrt.jar;." -Xmx16m ListViewMemTest
Filing this bug as critical because this memory leak in basic class,
so any application could fail with OOM due to this issue.
previously created one fails with OOM after ~182,000 iterations.
Memory Analyzer shows the memory leak is in com.sun.javafx.tk.quantum.PaintRunnable
and is because root.removed elements are not cleared. As result they occupy all heap and
application fails with OOM.
Please see also memory profiles attached.
To run the test do:
1) compile ListViewMemTest
2) java -cp "jfxrt.jar;." -Xmx16m ListViewMemTest
Filing this bug as critical because this memory leak in basic class,
so any application could fail with OOM due to this issue.
- blocks
-
JDK-8113933 MemoryLeak in TreeView$TreeViewBitSetSelectionModel.selectedIndicesSeq
- Closed
-
JDK-8101026 Consider possibility to reduce TableView/TableColumn footprint, currently it is up to 1Mb
- Closed
- relates to
-
JDK-8101026 Consider possibility to reduce TableView/TableColumn footprint, currently it is up to 1Mb
- Closed