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

Memory leak after unloaded Model and after unloaded its component by Loader.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P1: Critical
    • None
    • 6.5.7
    • Quick: 3D
    • None
    • Windows

    Description

      While investigating memory usage when using PLY Model with Qt Quick 3D, I found the problem in the title.

      Qt6.8.0 looks like it releases memory when the Model is unloaded, so please fix this in Qt6.5 and Qt5.15 as well, if possible.

       

      The environment is as follows

      Environment Value
      OS Windows 11
      Qt 5.15.17 MSVC 2019
      Qt6.5.6 MSVC 2019
      Qt6.8.0 MSVC 2022

      The operations investigated for memory usage are as follows

      1. Launch the application.
      2. Repeat `Load`/`Unload` of `main.qml(Window)` three times.
      3. After `Load` of `main.qml(Window)`, repeat `Unload` three times after the following operations.
        1. Repeat `Load`/`Unload` of `DisplayArea3D(including View3D)` three times.
      4. After `Load` of `main.qml(Window)`, repeat `Unload` three times after the following operations.
        1. After `Load` of `DisplayArea3D (including View3D)`, repeat `Unload` three times after the following operations.
          1. Repeat `Load`/`Unload` of `PLY Model` 3 times.

      Attachments

        1. 2024-10-17-10-29-13.png
          110 kB
          Susumu Endo
        2. 2024-10-17-10-33-02.png
          113 kB
          Susumu Endo
        3. 2024-10-17-10-35-29.png
          113 kB
          Susumu Endo
        4. 2024-10-17-10-46-26.png
          125 kB
          Susumu Endo
        5. 2024-11-14-14-52-14.png
          114 kB
          Susumu Endo
        6. 2024-11-14-14-53-13.png
          111 kB
          Susumu Endo
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            jokarlss Jonas Karlsson
            susumuendo Susumu Endo
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes