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

QWebEngineView memory leak

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.12
    • 5.9.5, 5.10.1, 5.11.1
    • WebEngine
    • None
    • Linux/X11

    Description

      Creating and deleting a QWebEngineView appears to create a memory leak. I have tried the attached code on 5.9, 5.10, and 5.11 and see the same memory leak on each.

       

      I do not have a valgrind result to attach as I've had difficulty capturing that data.

       

      To reproduce:

      • Build this application
      • Run the application ./leak-test
      • - While application is running:
      •       while true; do sleep 1; grep VmRSS /proc/$(pidof leak-test)/status | awk '{print $2}'; done
      • - Observe, or graph, that these values are increasing over time

       

      Attachments

        1. leaker.cpp
          0.6 kB
        2. leaker.h
          0.2 kB
        3. leak-test.pro
          0.2 kB
        4. main.cpp
          0.2 kB
        5. README.md
          0.3 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            kiburtse Kirill Burtsev
            gavinstark Gavin Stark
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes