If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

Performance issue with loading large page background images

VERIFIED FIXED in Future

Status

()

Core
ImageLib
P1
enhancement
VERIFIED FIXED
18 years ago
17 years ago

People

(Reporter: Ben Chu, Assigned: Stuart Parmenter)

Tracking

({perf})

Trunk
Future
x86
Linux
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(URL)

(Reporter)

Description

18 years ago
Visiting the above URL with 2000-01-08-08-M13 causes memory and swap space to be
eaten up very quickly.  Perhaps this is due to the table usage on that page?

Comment 1

18 years ago
The particular issue on this page is that the page uses

  <BODY BACKGROUND="http://support.connect.ab.ca/xmain_bg3.gif">

where xmain_bg3.gif is a 1300px x 7000px GIF, a 36KB file and Nav4 reports the
decoded size as 18MB! (Loading this page without the BODY BACKGROUND is not
a problem).

This page gives Nav4.6 a little work to do; mozilla 2000010608 has an even
tougher time (either dealing with it as BODY BACKGROUND or just loading the
GIF directly).  In particular, the system really "grinds" while decoding, and
in certain situations, the image will simply disappear after loading (leaving
a white canvas).

Updated

18 years ago
Assignee: troy → pnunn
Component: Layout → ImageLib

Comment 2

18 years ago
There's not much we can do about it, other than just keep only the part of the
image that's actually needed in memory.

A 1300x7000 image 24-bit image requires 1300*7000*3 bytes when decoded. That's a
lot of memory.

Changing component and re-assigning since this isn't a layout issue. Maybe Pam
has future plans for handling ridiculously large images

Updated

18 years ago
Severity: normal → enhancement
Status: NEW → ASSIGNED
Priority: P3 → P1
Target Milestone: M20

Comment 3

18 years ago
for later contemplation.
Need to take care of crashes at the moment.
-pn

Updated

18 years ago
Keywords: perf

Comment 4

18 years ago
Adding perf to Keyword field.

Comment 5

18 years ago
Updated summary field with more descriptive (and accurate) summary.
Summary: Performance issue: memory handling? → Performance issue with loading large page background images

Updated

17 years ago
Target Milestone: M20 → Future

Updated

17 years ago
Blocks: 61478

Comment 6

17 years ago
All pnunn bugs reassigned to Pav, who is taking over
the imglib.
Assignee: pnunn → pavlov
Status: ASSIGNED → NEW

Updated

17 years ago
Status: NEW → RESOLVED
Last Resolved: 17 years ago
Resolution: --- → FIXED

Comment 7

17 years ago
Changing to Resolved/Fixed, appears to be fixed with new imagelib, verified on
linux build 2001041205

Comment 8

17 years ago
Changing to Resolved/Fixed, appears to be fixed with new imagelib, verified on
linux build 2001041205

Comment 9

17 years ago
Marking verified per last comments
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.