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

Details

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

    Description

      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);'

      Attachments

        Issue Links

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

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes