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

Memory leak in Qt Demo when dynamic create object

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P1: Critical
    • None
    • 6.8.0
    • Quick: 3D
    • None

    Description

      I got a feedback from customer, like the summary

      so I do a test use the offical demo : Qt Quick 3D - Dynamic Model Creation Example

       

      The result like below:

      1、

      2、

       

      3、

      please focus on the memory info. 

      After creating many objects with a plus sign and then returning to 0 with a minus sign, the memory cannot return to its original state.
      After repeating this process, there is a significant cumulative increase in memory.

       

      I verified it using Qt 6.8.0 version, and I'm not sure if the same issue exists in other versions.
      Additionally, if there are any fixes, please provide the specific version of the fix so that I can reply to the user.

       

      Attachments

        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
            lix.ma Lix Ma
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes