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

    • Type: Bug
    • Status: Reported
    • Priority: P1: Critical
    • Resolution: Unresolved
    • Affects Version/s: 5.15.2
    • Fix Version/s: 5.15
    • Component/s: Quick: 3D
    • Labels:
      None
    • Platform/s:
      Windows
    • Story Points:
      3
    • Sprint:
      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

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

          Activity

            People

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

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes