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

Memory leak on QGuiApplication while changing display resolution

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • 6.8
    • 6.6.3
    • GUI: Other
    • None
    • win11 24H2 + Qt 6.6.3

    Description

      Memory leak of QGuiApplication when change display resolution from 4k to 1080p vice-versa several times. The QT version is 6.6.3

      Step to reproduce:

      1: Create a new default project build by QT cmakelist:

      2: run this test app and check the memory usage in windows task manager

      3: Change display resolution from 4k to 1080p vice-versa several times

      4: You will see the memory usage of appTest.exe are increased

      Attachments

        1. AfterResolutionChange.png
          AfterResolutionChange.png
          185 kB
        2. HeapAllocation.png
          HeapAllocation.png
          244 kB
        3. image-2024-10-09-17-23-13-471.png
          image-2024-10-09-17-23-13-471.png
          58 kB
        4. image-2024-10-09-17-23-15-799.png
          image-2024-10-09-17-23-15-799.png
          58 kB
        5. image-2024-10-09-17-23-30-939.png
          image-2024-10-09-17-23-30-939.png
          82 kB
        6. InitialMemory.png
          InitialMemory.png
          340 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            jason19960705 健 宋
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes