Relates :
|
|
Relates :
|
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.
|