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

Texture memory not being freed after component destruction

XMLWordPrintable

      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

        1. main.qml
          0.7 kB
        2. massif.out.2663
          85 kB
        3. massif.out.2663.analysis.png
          massif.out.2663.analysis.png
          113 kB
        4. massif.out.2663.graph.png
          massif.out.2663.graph.png
          82 kB
        5. 00-piscina.png
          00-piscina.png
          7.93 MB
        6. 01-canyon.png
          01-canyon.png
          7.93 MB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes