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

QtWebEngine memory leak

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P1: Critical P1: Critical
    • None
    • 5.5.1, 5.7.0
    • WebEngine
    • None
    • Centos 7.2 64 bit, Centos 6.5 32 bit, Windows 7 64 bit

      Each execution of the script on a Web page increases the amount of memory under QtWebEngineProcess. This continues until QtWebEngineProcess not eat all the computer's memory. I created 20 classes inherited from QMainWindow with QWebEngineView. Then I repeatedly send a command to all classes: view-> page () -> runJavaScript (command) every 100 ms from QTimer. And I see how infinitely QtWebEngineProcess eats memory. "command" inside the JavaScript performs blank function especially for test.

        1. 4.html
          0.1 kB
          Mark
        2. main.cpp
          0.2 kB
          Mark
        3. untitled4.pro
          0.3 kB
          Mark
        4. web1.cpp
          0.6 kB
          Mark
        5. web1.h
          0.4 kB
          Mark
        6. 3_munutes_after_start.png
          303 kB
          Mark
        7. log.txt
          1.21 MB
          Mark
        8. OracleLinux6.7-32bit-Qt5.5.1.png
          467 kB
          Mark
        9. after 8 hours .png
          380 kB
          Mark
        10. qt-web-engine-process.png
          35 kB
          Alex Savinykh
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            kiburtse Kirill Burtsev
            marksh Mark
            Votes:
            3 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes