Closed Bug 164871 Opened 22 years ago Closed 22 years ago

lots of .png's bloats X server

Categories

(Core :: Graphics: ImageLib, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 116257

People

(Reporter: mozilla-bugzilla, Assigned: pavlov)

References

()

Details

This is rather extreme, so not really a bug. But since Opera views the same page using 1.3Gb less memory than mozilla I thought it was worth mentioning. When viewing http://www.uio.no/~ok/printere/printere.html with mozilla (1.1 beta), it causes the X server to eat up all available memory on the machine (including swap). There are roughly 1000 .png's on that page, file sizes on disk around 3-4Kb each but all 640x480 in image size. Same thing happens in Konqueror, but Opera loads the same page without any serious problems, and most noteworthy, no increase in the X server footprint at all. Which leads me to believe that it's doable without the X server growing to 1.3Gb. Presumably Opera expands the png's on demand, while mozilla/konqueror paints the whole thing in memory. Worth looking into?
Whiteboard: DUPEME
| kaestle@linux:~/pkg> grep -c .png printere.html | 2148 So there are 330 Megapixels to display, the sum of 1.3Gb telltale looks linke 4 bytes per pixel. My Mozilla v1.1 with linux v2.4.10 & XFree86 v4.1.0 only needs half the memory. | PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME COMMAND | 686 root 9 0 715M 707M 2152 S 3.5 70.8 7:27 X Is the scrolling with Opera somewhat delayed? If not, then the picture processing on demand is the preferable procedure.
*** This bug has been marked as a duplicate of 116257 ***
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
Whiteboard: DUPEME
You need to log in before you can comment on or make changes to this bug.