Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-100341

[REG 6.2.2 - 6.2.3] Memory leak on MediaPlayer destruction

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P1: Critical P1: Critical
    • 6.3.0 Beta1, 6.4.0 Beta1
    • 6.2.3
    • Multimedia
    • None
    • Windows 10
    • Windows
    • 7fa8e78cc2 (qt/qtmultimedia/dev) fdc0ac42d6 (qt/qtmultimedia/6.3) 1233123d72 (qt/qtmultimedia/6.2) 1233123d72 (qt/tqtc-qtmultimedia/6.2)

      There is a huge memory leak (10-20MB) on each destruction of MediaPlayer.

      Regression from 6.2.2. Probably caused by this change https://codereview.qt-project.org/c/qt/qtmultimedia/+/386480 (I haven't tried to revert it locally and check, but this is most significant change in Windows media playback since 6.2.2).

      Attached simple example that reloads (via Loader) MediaPlayer each 1 sec. You need just run it and observe the process memory consumption in Process Explorer.

        For Gerrit Dashboard: QTBUG-100341
        # Subject Branch Project Status CR V

            anrocha André De La Rocha (Inactive)
            studiosus Vladimir Belyavsky
            Votes:
            5 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes