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

QML Image retains backing QImage perpetually

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • 6.8.0
    • Quick: Other
    • None

      The QML Image component retains its backing QImage in memory forever, using more than it needs to in many cases. For my application, this uses upwards of 30mb for images that do not need to be cached.

      I suggest creating a separate opt-in property on Image, allowing the backing QImage to be released (and reloaded if required, ideally never), instead of merging this into the cache property with some kind of heuristic.

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

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            jirauser69088 user-b4e76 (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes