Details
-
Bug
-
Resolution: Unresolved
-
P1: Critical
-
None
-
6.4.2
-
None
Description
This was originally a QtWebEngine issue, but it is reproducible without the WebEngine component: https://bugreports.qt.io/browse/QTBUG-108539
Painting an image (with ~150 Kib size) 100 times into a QPrintPreviewDialog has more than 3 gigabytes of resident memory usage, and this is unexpected for the users.
Please see the attached example and observe memory consumption in htop. Printing without the preview dialog or using the same QImage object for each page has no memory issue.
Is this a real issue, or is there any more effective ways to print multiple images into a preview dialog?
Attachments
Issue Links
- is required for
-
QTBUG-108539 Qt WebEngine page print preview uses extreme amount of RAM
-
- Reported
-