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

Showing / hiding QML Dialog type keeps allocating memory without releasing it

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • P2: Important
    • None
    • 5.9.1, 5.15.2, 6.1.0
    • Quick: Controls 1
    • Ubuntu 20.04 LTS
      clang 10.0.0

      Windows

    Description

      When showing and hiding a QML Dialog type, it keeps allocating more and more memory without ever releasing it.

      The sample is an exaggerated case where Dialog is shown and hidden every 10ms.

      Steps to reproduce:

      • Run attached sample
      • EXPECTED: Memory usage does not increase
      • ACTUAL: Memory usage constantly increases, and is never released

      Attachments

        1. massif.png
          massif.png
          396 kB
        2. qtbug63557.zip
          1 kB
        3. qtbug63557-qt6.zip
          1 kB
        4. stack-1.png
          stack-1.png
          4.18 MB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            srutledg Shawn Rutledge
            jussi_witick Jussi Witick
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes