Closed Bug 157187 Opened 22 years ago Closed 21 years ago

Memory leak with page having many images and meta refresh

Categories

(Core :: Layout, defect, P5)

defect

Tracking

()

RESOLVED WORKSFORME
Future

People

(Reporter: wd, Assigned: attinasi)

References

()

Details

(Keywords: memory-leak, regression)

Attachments

(1 file)

*** 
NOTE:  URL for this bug will contain nudity!
***

From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.1a+) Gecko/20020710
BuildID:    2002071008

This website has many images on it than change frequently.   It has a meta
refresh to pick up the changes.   When mozilla is left on this page, the memory
usage rises continually.

Reproducible: Always
Steps to Reproduce:
1.Go to http://www.camwhores.com/index.php?group=3&num=999 (don't try it at
work, or you'll have some explaining to do....)
2.Leave browser open for a day or more
3.

Actual Results:  Mozilla's memory usage rises until the system is nearly unusable.
(I've seen it exeed 350MB)

Expected Results:  Mozilla's memory usage should plateau at some reasonable point.
-> Layout for triage
Assignee: Matti → attinasi
Component: Browser-General → Layout
QA Contact: asa → petersen
QA Contact: petersen → amar
Priority: -- → P5
Target Milestone: --- → Future
Not sure how to interpret it, but I made a bloat log of the page in question...
Keywords: mlk
I have the same problem under somewhat different circumstances. MY Moz 1.1 got
to 432Megs (on NT4sp6) before I killed it. This was after 6 hours of use. I had
one frame open that refreshes (using javascript) every 15 seconds. The page is
basically text in a table with some links. There are some images, but most of
them are 'pixel.gif' (a single transparent pixel) which is then stretched to the
required size. 

Closing the window which contains this refreshing window does not release the
memory. 

This problem was not present in Moz 1.0. [I upgraded to 1.1 yesterday and
immediately started to see the problem].
Keywords: regression
Flags: blocking1.3b?
For the sake of information flow: there has been a checkin for bug 179498 that
fixes my observation of memory 'leakage' when loading images.

After updating to Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.3a)
Gecko/20021214, I can no longer see memory being leaked when loading images.

Since memory was lost everytime the an image loaded (even using reload), this
might have been the cause of this bug as well.

@reporter: coud you recheck whether or not this is still visible with e.g.
today's nightly?
Not serious.
Flags: blocking1.3b? → blocking1.3b-
Is this still a problem?
The page in question has changed design slightly, so it's not possible to try
the original steps to reproduce of "Leave open for a day or more".   (After a
certain amount of time, the user is redirected to a non-refreshing page asking
to subscribe)

Anyway, with some brief testing, I can't seem to see any kind of memory leak
here.  During the reloads, memory usage fluctuates a little, but in the long run
it pretty much stays level.

This is with 2003042708 on Win2k.
I don't believe this is still an issue.

-> WFM
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: