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

OpenGL applications use unnecessary amount of memory under certain configuration

    XMLWordPrintable

Details

    • 7c99a5273bea6f071efcd8441bedc1b768cc1d7a

    Description

      Under certain configuration application that is in the background and not visible does not release the memory allocated for OpenGL operations. This means that applications started with OpenGL graphics system require roughly 8 megabytes of RAM even when not using the memory for anything. This is especially true under HW configurations where the GPU does not have its own memory. Having tens of applications in the background would waste tens or even hundreds of megabytes of RAM for nothing which is of course not acceptable.

      Solution is to change the graphics system to raster whenever application goes in to background and to OpenGL when it comes back to foreground. Once switched to raster the application releases the allocated memory to the system. Then when application comes back to foreground the graphics system is switched back to OpenGL and the memory is again allocated.

      Attachments

        Issue Links

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

          Activity

            People

              rodal Samuel Rødal
              wellu.makinen Wellu Mäkinen
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes