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

Using node with children as scope for Qt Quick 3D light causes memory leak

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P1: Critical
    • 6.1
    • 5.15.2
    • Quick: 3D
    • None
    • Windows
    • 3
    • Qt Quick 3D - 2021 Week 11/12, Qt Quick 3D - 2021 Week 13/14

    Description

      Setting the scope with a single node for scope for a QtQuick3D light works fine. However, using a node with children for the scope property causes a large memory leak over time. My project consumes just over 100Mb RAM normally. Overnight, this crept up to 4Gb consumed.

      The issue persists even if no manipulations or animations performed on the light object. Object is being created in QML.

      I don't have a simple demo project currently. Note tested on Linux yet. Happens with both MSVC and MINGW.

      Attachments

        1. Scoped.qml
          7 kB
          Paul Olav Tvete
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qt.team.graphics.and.multimedia Qt Graphics Team
            andrew.berridge Andrew Berridge
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes