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
For Gerrit Dashboard: QTBUG-69088 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
241731,2 | Fix leak which arises on querying GLOzone instance in SurfaceFactoryQt | 5.12 | qt/qtwebengine | Status: MERGED | +2 | 0 |