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

MinGW/Windows/32bit: When adding a lot of tabs hosting a QQuickWidget/View then it can run out of resources depending on the system



    • Type: Bug
    • Status: Reported
    • Priority: P2: Important
    • Resolution: Unresolved
    • Affects Version/s: 5.9.4, 5.11.0
    • Fix Version/s: None
    • Component/s: Quick: Widget
    • Environment:
      Windows 7, MinGW 32bit build


      When adding a lot of tabs hosting a QQuickWidget then it can run out of resources depending on the system. This happens even if QQuickWindow::setSceneGraphPersistent(false) and QQuickWindow::setPersistentOpenGLContext(false) is used on the window inside the QQuickWidget. Therefore it indicates that there is something not being cleaned up correctly.

      Steps to reproduce:

      • Launch app
      • Add a few tabs
      • After approx 7 tabs, crashes start to show (CreateDIBSection fails, failures to launch threads)
      • If it has not crashed yet: maximize the window

      With MinGW 7.3/32bit (debug):

      qrc:/main.qml:2:1: plugin cannot be loaded for module "QtQuick.Controls": Cannot load library . ..\qml\QtQuick\Controls.2\qtquickcontrols2plugind.dll: Not enough memory resources are available to process this command.


        1. qtbug66292_diag.diff
          0.8 kB
        2. qtbug66292.tar.gz
          4 kB
        3. qtbug66292.zip
          10 kB

          Issue Links

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



              • Assignee:
                tvete Paul Olav Tvete
                andysh Andy Shaw
              • Votes:
                6 Vote for this issue
                13 Start watching this issue


                • Created:

                  Gerrit Reviews

                  There are no open Gerrit changes