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

High memory usage for multiwindow apps

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.6.0, 5.7.0, 5.8.0
    • Quick: SceneGraph
    • None
    • Windows 7, 10

    Description

      I found that with default Windows renderer even simple app (but with many windows like custom dialogs, menus etc.) eats too much RAM, up to 500 Mb after start.

      It depends from installed memory size, but not linearly.

      Few tests for my app:

      Virtual machine with 512 Mb, it eats ~80 Mb
      Virtual machine with 1 Gb, it eats ~110 Mb
      Virtual machine with 3 Gb, it eats ~110 Mb
      Machine with 4 Gb, it eats ~160 Mb
      Machine with 4 Gb, it eats ~500 Mb
      Machine with 8 Gb, it eats ~250 Mb

      If I choose another render (Qt::AA_UseOpenGLES), it uses ~80 Mb
      On macOS same app uses ~58 Mb

      Unfortunately, I can't use OpenGL ES because of some rendering issues, like QTBUG-54451

      Minimal example attached, on my machine it uses 33/103 Mb for 11 empty windows.

      Attachments

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

        Activity

          People

            sletta Gunnar Sletta
            zifix Yakov Eremin
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes