Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
4.5.3
-
None
-
98a23b974509bd1b6d9459e6c79677bdcbaa0108
Description
To test this bug I used Qt example program in /usr/local/Trolltech/Qt-4.5.1/examples/widgets named spinboxes.
This bug occurs on X11 with Qt 4.5.1, 4.5.2, and the 4.6 snapshot.
Just change one of the labels text, just add a \n between the label text. This causes increase in virtual memory of application.
Without \n Virtual memory is 25 MB and with \n in label it is 90 MB.
First run unaltered:
Memory: 3.2 M
Virtual Size: 39.5 M
Second run, with \n character added to one of the lables:
Memory: 8.6 M
Virtual Size: 118.8 M
Third run, after removing the \n character and rebuilding:
Memory: 3.2 M
Virtual Size: 39.5 M