Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8120818

Memory leak with media objects

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • 8
    • fx2.1.1, 7u6
    • javafx

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              almatvee Alexander Matveev
              duke J. Duke
              Votes:
              4 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported: