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

Memory leak with Quick3D 5.15 when loading Texture with Loader

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P1: Critical
    • 5.15.9, 5.15
    • 5.15.8
    • Quick: 3D
    • None
    • Integrity, Windows
    • 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

              anmaatta Antti Määttä
              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