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

Memory leaks with Qt Quick and Qt 3D

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P1: Critical P1: Critical
    • None
    • 6.4.3, 6.8.2, 6.10.0 RC
    • None
    • Windows

      With the latest NVidia drivers, we detected massive memory leaks in our app, eventually causing BSOD.

      We just start the app and let it running without doing anything, after 30min the app goes from 600Mo of memory usage to 2800Mo! 

      We have the issue with the following GPU: 

      • NVidia RTX A2000 Ada Generation Laptop (drivers version: 32.0.15.7373)
      • NVidia A2 (drivers version: 32.0.15.7307)

      I reproduce the issue with Qt 6.4.3, 6.8.2 and the latest 6.10 RC.

      You'll find attached a demonstrator based on the simple-qml Qt 3D example in which I forced the usage of OpenGL and added some Qt Quick elements.

      To reproduce, you'll obviously need a NVidia GPU with the latest driver and force the app to use it. Then simply start the app and watch the memory (and CPU!) consumption.

      When we force the app to use the Intel GPU not leaks (and less memory use) and less (almost zero) CPU usage (see attached screenshots)

        1. GPU0 - NVidia.png
          GPU0 - NVidia.png
          112 kB
        2. GPU1 - Intel.png
          GPU1 - Intel.png
          109 kB
        3. MemLeaks.zip
          3 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            seanharmer Sean Harmer
            thomas12345 Thomas Lenoir
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes