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

Memory leak with media objects

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: fx2.1.1, 7u6
    • Fix Version/s: 8
    • Component/s: 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

              • Assignee:
                almatvee Alexander Matveev
                Reporter:
                duke J. Duke (Inactive)
              • Votes:
                4 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported: