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

QtWebEngine memory leak

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • 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

    Description

      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.

      Attachments

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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes