-
Bug
-
Resolution: Fixed
-
P3
-
fx2.1.1, 7u6
Some of the memory allocated by the media objects (Media, MediaPlayer, MediaView) is not released upon stopping and clearing all references to it.
I've included an example application wich will indefinitly open and close a JDialog which contains a JFXPanel containing a mediaplayer. When you run this you will see that memory consumption slowly rises.
If you try to use dispose on close of the JDialog, memory is released but one can not open the JFXPanel again because the platform has been exited.
I've included an example application wich will indefinitly open and close a JDialog which contains a JFXPanel containing a mediaplayer. When you run this you will see that memory consumption slowly rises.
If you try to use dispose on close of the JDialog, memory is released but one can not open the JFXPanel again because the platform has been exited.
- relates to
-
JDK-8128496 Possible leak while playing video in a loop using JavaFX 2
-
- Resolved
-
-
JDK-8101978 Add explicit dispose() method to MediaPlayer
-
- Closed
-