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. massif.out.2663.graph.png
          massif.out.2663.graph.png
          82 kB
        2. massif.out.2663.analysis.png
          massif.out.2663.analysis.png
          113 kB
        3. massif.out.2663
          85 kB
        4. main.qml
          0.7 kB
        5. 01-canyon.png
          01-canyon.png
          7.93 MB
        6. 00-piscina.png
          00-piscina.png
          7.93 MB

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: