Hello,
I think that the following problem is a bug, if this is not the case, my apologizes.
The class 'com.sun.javafx.scene.control.behavior.TableCellBehavior' contains a static WeakHashMap with the following entry definition:
Key: TableView
Value: TablePosition
The problem comes from the fact that the TablePosition contains also strong references to the TableView and TableColumn.
Thus the GC can never do its work because it exists always at least a strong reference to the TableView, even if the TableView is not used somewhere else.
Best regards, Gilles Remy
I think that the following problem is a bug, if this is not the case, my apologizes.
The class 'com.sun.javafx.scene.control.behavior.TableCellBehavior' contains a static WeakHashMap with the following entry definition:
Key: TableView
Value: TablePosition
The problem comes from the fact that the TablePosition contains also strong references to the TableView and TableColumn.
Thus the GC can never do its work because it exists always at least a strong reference to the TableView, even if the TableView is not used somewhere else.
Best regards, Gilles Remy