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

Opening menus in a QML app leaks memory when QQuickWindow::setSceneGraphBackend is set to QSGRendererInterface::Software

XMLWordPrintable

    • All
    • 064f0d3d23097cb181166c3e966287490773f23c (qt/qtdeclarative/5.11.3)

      Opening menus in a QML app leaks memory when QQuickWindow::setSceneGraphBackend is set to QSGRendererInterface::Software.

      Steps to reproduce:

      • run the sample attached.
      • go back and forth between the app menus and keep opening them.
      • monitor the memory consumpion, for example via 'Task Manager' on Windows.
        EXPECTED: the memory consumpion is stable.
        ACTUAL: the amount of allocated memory keeps rising steadily with each opening of a menu.

      For comparison, test without the line 'QQuickWindow::setSceneGraphBackend(QSGRendererInterface::Software);'

        1. qtbug69290.zip
          2 kB
          Risto Sipola
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            kiburtse Kirill Burtsev
            risto.sipola Risto Sipola
            Votes:
            4 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes