application exe memory and qtwebengineprocess.exe memory
I'm running an application with the code below. I'm noticed that if I spam resizing the app even if its drawing nothing, I see my main application memory usage go up. I start off with a 1GB of free memory and if i constantly resize and maximize, i will eventually use that up and possibly crash the render process. If I stop spamming the resizing, the memory usually frees up some but never returns to the levels I started at. If the render process crashes, I get the 1GB I started with back. Can anyone explain or having any thoughts on what I'm seeing?
QApplication::setAttribute(Qt::AA_EnableHighDpiScaling); // DPI support QApplication app(argc, argv); QWebEngineView view; view.setUrl(QUrl(QStringLiteral("http://a.dilcdn.com/bl/wp-content/uploads/sites/6/2016/01/sullust_04-2400x1200-795653638057.jpg"))); view.resize(1024, 750); view.show(); return app.exec();