Uploaded image for project: 'Qt for Python'
  1. Qt for Python
  2. PYSIDE-2931

Memory leak from QMediaPlayer

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • Not Evaluated
    • None
    • 6.8.0.2
    • PySide
    • None
    • Kubuntu and Xubuntu 24.04.01
      Python 3.12.3
      PySide6==6.8.0.2
      PySide6_Addons==6.8.0.2
      PySide6_Essentials==6.8.0.2
      shiboken6==6.8.0.2

    Description

      Attached script continuously loads media files with QMediaPlayer.setSource(). Just put some mp4-files into _VIDEO_DIR path defined in string #8.

      On my system I put only 2 mp4-files in it. Leak rate is almost constant and is about 12 MiB in 5 minutes:

      On start: 195 MiB physical memory

      10 min: 219 MiB

      15 min: 228 MiB

      20 min: 240 MiB

      25 min: 252 MiB

      30 min: 264 MiB

      And so on...

      Tested with Python 3.12.3 on Kubuntu and Xubuntu 24.04.01.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              crmaurei Cristian Maureira-Fredes
              weirdlos weirdlos
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes