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

        1. image-2024-11-11-22-47-07-074.png
          89 kB
          Lix Ma
        2. image-2024-11-11-22-46-42-460.png
          199 kB
          Lix Ma
        3. image-2024-11-11-22-46-34-186.png
          199 kB
          Lix Ma
        4. 980ed96d7f1d0f1890cd263d9f32912.png
          90 kB
          Lix Ma
        5. image-2024-11-11-22-45-10-284.png
          90 kB
          Lix Ma
        6. e965b1bc436186c100c856fee63af69.png
          197 kB
          Lix Ma
        7. cc41b8adbeede2978656bbc5edbc517.png
          96 kB
          Lix Ma
        8. image-2024-11-11-11-41-12-457.png
          36 kB
          Lix Ma
        9. image-2024-11-11-11-40-59-440.png
          62 kB
          Lix Ma
        10. image-2024-11-11-11-40-36-358.png
          36 kB
          Lix Ma
        11. image-2024-11-11-11-39-35-955.png
          210 kB
          Lix Ma
        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