Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Memory leak still present Qt5.12.7 - QML Video
Forum Updated to NodeBB v4.3 + New Features

Memory leak still present Qt5.12.7 - QML Video

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
4 Posts 3 Posters 756 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    Richard Barrass
    wrote on last edited by
    #1

    Re: Memory leaks in QtMultimedia 5.0 on QML element MediaPlayer and Video?

    Hello all,

    This still seems to be causing an issue... I am running Qt5.12.7 and I have an application very similar in its use case - I have an area of screen that affectively plays a playlist of videos, when the video completes, the QML Video source is updated for the next video file (.mp4) and play is called.

    Im seeing a steady slow memory increase - roughly 5% of memory per hour

    Unfortunately, the target application is required to be operating 24/7

    Any thoughts would be gratefully received

    Richard

    1 Reply Last reply
    1
    • Christian EhrlicherC Offline
      Christian EhrlicherC Offline
      Christian Ehrlicher
      Lifetime Qt Champion
      wrote on last edited by
      #2

      The bug mentioned in the post is closed for a long time. Therefore I don't think it's the same bug. So please create a minimal, compilable example and create a proper bug report.

      Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
      Visit the Qt Academy at https://academy.qt.io/catalog

      1 Reply Last reply
      0
      • M Offline
        M Offline
        Magnus21
        wrote on last edited by
        #3

        The problem is still there in the latest and greatest Qt 5.14.
        There is not really much to argue about reproducing this memory leak, QML Video is just generally leaking. Just try out a Video and try to play different sources after another. The QML Video component will not release its resources for earlier videos and there isn't even a cached property do disable like with QML Image.

        Video even leaks memory, when you rotate the same two videos.

        1 Reply Last reply
        0
        • Christian EhrlicherC Offline
          Christian EhrlicherC Offline
          Christian Ehrlicher
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Without a proper bug report (which includes a proper, minimal testcase) I doubt anyone can help you when reporting a bug at https://bugreports.qt.io

          Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
          Visit the Qt Academy at https://academy.qt.io/catalog

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved