Details
Description
QtWebEngine continuously allocates memory until it get killed. I first experienced this on a embedded system with 1 GB memory and Qt 5.15.6 but I can reproduce this behavior also with Qt 6.2.0 RC.
To be able to simply reproduce this behavior I used a simple html page (see attachement) which shows the time and date and refreshes every second. I used the simplebrowser example and Arch Linux Qt 6.2.0RC build for this test.
At the beginning the memory footprint looked like this:
After about 15 hours it looked like this:
Attachments
For Gerrit Dashboard: QTBUG-96928 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
373984,4 | Do not wait on weak_pointer for termination errors | dev | qt/qtwebengine | Status: MERGED | +2 | 0 |
375458,2 | Do not wait on weak_pointer for termination errors | 6.2 | qt/qtwebengine | Status: MERGED | +2 | 0 |
375459,2 | Do not wait on weak_pointer for termination errors | 5.15 | qt/qtwebengine | Status: MERGED | +2 | 0 |
376792,3 | Do not wait on weak_pointer for termination errors | 6.2.1 | qt/qtwebengine | Status: MERGED | +2 | 0 |