Details
-
Bug
-
Resolution: Incomplete
-
P2: Important
-
None
-
5.6.0
-
None
-
Windows 10 professional 64 bit
Description
I'm running the snippet of code below. I'm on a 4k monitor with dpi set to 200%. Using the debug libs, as I resize the window back and forth and then hit maximize, I notice my free memory dropping by hundreds of MB at a time. If I keep doing this non-stop I eventually will run out of free memory on the main process. Sometimes the qtwebengineprocess will crash and I will get all the free memory back. Now if I do a resize then let the application sit, some but not all of the free memory comes back.
This also happens on a 1920x1080 screen with no scaling, but just at a much slower rate.
This also happens with the release libs as well, again at a slower rate.
#include <QApplication> #include <QWebEngineView> int main(int argc, char *argv[]) { QApplication app(argc, argv); QWebEngineView view; view.setUrl(QUrl(QStringLiteral("http://www.qt.io"))); view.resize(1024, 750); view.show(); return app.exec(); }
Attachments
Issue Links
- is duplicated by
-
QTBUG-56245 Big Memory Leak in webenginewidgets/markdowneditor example
-
- Closed
-