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

QtWebEngine use too much GPU memory and failed to allocate more very quickly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Incomplete
    • Icon: P1: Critical P1: Critical
    • None
    • 5.15.0
    • WebEngine
    • None
    • Windows 7, x64
    • Windows

      Hello,

      I think there is a problem when using multiple page with QtWebEngine

      Compile simplebrowser qt example with qt version 5.15.0 in x64, release mode

      Open 6-7 tab with https://www.qt.io/ in each.

      Over 2.5Gb used in total amount of GPU memory.

      (depending of your GPU memory available, and if you reach the limit) 

      You can start getting

      [9496:1392:0705/001319.853:ERROR:gl_context_wgl.cc(71)] Failed to create GL context.

      Because no more memory available.

      With chromium, you can open much more tabs, because the GPU memory seems to be reuse.

       

      The example needs to add an option for better GPU memory managing?

      I got the same effect in my own application.

       

      Best regards,

      Ti-R

       

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

            qt_webengine_team Qt WebEngine Team
            ti-r Renan Lavarec
            Votes:
            2 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes