Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QtWebEngine
  4. application exe memory and qtwebengineprocess.exe memory
Forum Updated to NodeBB v4.3 + New Features

application exe memory and qtwebengineprocess.exe memory

Scheduled Pinned Locked Moved Unsolved QtWebEngine
1 Posts 1 Posters 1.1k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    bcthatsme
    wrote on last edited by
    #1

    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?

    Thanks

        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();
    
    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved