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

        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: