[Qtwebengine] Memory shared between main application and qtwebengineprocess.exe

Alexandru Croitor alexandru.croitor at qt.io
Tue Aug 23 10:17:00 CEST 2016


Could you submit a bug report for the WebEngine component on https://bugreports.qt.io, and provide details to the version of Qt used
as well as the platform you are running it on?

Regards, Alex.

On 22 Aug 2016, at 19:18, Bryan Chan <bryan.chan at pacbell.net<mailto:bryan.chan at pacbell.net>> wrote:


I'm running the snippet of code below.  I'm on a 4k monitor with dpi set to 200%. 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.

Has anyone seen this behavior or know where I can look in the qt code to investigate this further?

#include <QApplication>
#include <QWebEngineView>

int main(int argc, char *argv[])
    QApplication app(argc, argv);

    QWebEngineView view;
    view.resize(1024, 750);

    return app.exec();

QtWebEngine mailing list
QtWebEngine at qt-project.org<mailto:QtWebEngine at qt-project.org>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qtwebengine/attachments/20160823/2c97f9cc/attachment.html>

More information about the QtWebEngine mailing list