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

QtWebEngine continuously allocates memory until it is terminated

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P2: Important P2: Important
    • None
    • 6.10.0
    • WebEngine
    • None
    • Arch Linux, Qt 6.10.0
      Yocto Linux (x86_64(Intel)), Qt 6.10.0
    • Linux/Wayland, Linux/Yocto

      QtWebEngine continuously allocates memory until it is terminated. I tried disabling the GPU, but that had no effect.

      To be able to reproduce this behavior I used a webpage (see attachement webpage.tar.gz) which loads a svg using a XMLHttpRequest every 100ms.
      I used the simplebrowser example and Arch Linux Qt 6.10.0 build for this test. I also tried the Falkon browser, with the same result.

      At the beginning the memory footprint looked like this:

      After about 35 minutes it looked like this:

      To verify whether this was a Chromium issue, I ran the same test with Chromium (141) on the same system, but Chromium did not show any memory leak.

        1. webpage.tar.gz
          58 kB
          Johannes Pointner
        2. image-2025-10-21-11-22-17-494.png
          68 kB
          Johannes Pointner
        3. image-2025-10-21-11-22-56-786.png
          70 kB
          Johannes Pointner
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            qt_webengine_team Qt WebEngine Team
            h4nn35 Johannes Pointner
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes