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

Memory leak with Quick3D 5.15 when loading Texture with Loader

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Fixed
    • Affects Version/s: 5.15.8
    • Fix Version/s: 5.15.9, 5.15
    • Component/s: Quick: 3D
    • Labels:
      None
    • Environment:
    • Platform/s:
      Integrity, Windows
    • Commits:
      3d93b4c180 (qt/tqtc-qtquick3d/5.15.10) badb1d8319 (qt/tqtc-qtquick3d/5.15.10) badb1d8319 (qt/tqtc-qtquick3d/5.15-opensource)

      Description

      Hello!

      I've detected a memory leak in our application when we load with Loader an Item that contains a Texture (Quick3D) with an image source. This issue appeared in both debug and release, with images of formats PNG and ASTC.

      The attachment contains a small test application that loads/unloads View3D when the button is clicked. This view contains a simple rectangle model that uses a material and a texture with an image as a source. Each time Loader loads the view the allocated memory is increased by few Mb and is never being released until the application is closed (according to task manager and QML profiler).

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              anmaatta Antti Määttä
              Reporter:
              antonk Kozulin Anton
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes