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

Texture memory not being freed after component destruction

    XMLWordPrintable

Details

    Description

      If a Loader uses a component that loads Image elements, the memory used to render the images doesn't get freed after destruction.

      Sample qml to reproduce the issue and vangrind/massif results attached.

       

      The following patch was used in tests, but the bug still reproducible: https://codereview.qt-project.org/#/c/196320/5

      Attachments

        1. 00-piscina.png
          00-piscina.png
          7.93 MB
        2. 01-canyon.png
          01-canyon.png
          7.93 MB
        3. main.qml
          0.7 kB
        4. massif.out.2663
          85 kB
        5. massif.out.2663.analysis.png
          massif.out.2663.analysis.png
          113 kB
        6. massif.out.2663.graph.png
          massif.out.2663.graph.png
          82 kB

        Issue Links

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

          Activity

            People

              lagocs Laszlo Agocs
              rogerzanoni Roger Zanoni
              Votes:
              1 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes