Closed Bug 618034 Opened 14 years ago Closed 14 years ago

Investigate memory increase that happened in Sept 2009 as identified in bug 598466

Categories

(Core :: General, defect)

x86
All
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: smooney, Unassigned)

References

Details

This bug is for memory increase D as described in detail in. Per dmandelin's request we are adding a bug to investigate further why this happened, if the increase was intentional (expected tradeoff from other work) and if there are any ideas to mitigate it.
Blocks: 598466
blocking2.0: --- → ?
This should have gone away when bug 563088 landed. Is that not the case?
see bug bug 598466 comments 57, 61 and 53. The tests were conducted with image.mem.discardable = false Therefore neither the increase nor the decrease related to image discarding should show up in these tests. so there are two possibilities: a) something messed up our testing procedure (prefs changing?) b) the regression is unrelated to image discarding Explicit tests showed that image discarding is working and yields similar results as it did in 3.6 (see bug 598466 comment 35)
In that case I think we need to rediagnose this bug, unfortunately. Here's the regression range, as found by Ed in bug 598466 comment 63: http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=bf0fdec8f43b&tochange=912c6ae3b70c
Component: Graphics → General
QA Contact: thebes → general
> The tests were conducted with image.mem.discardable = false That pref had no effect during the time of the observed regression. It was added much later. (I sort of said that in bug 598466 comment 65, but wasn't sure; I just verified that this is the case.) At the time, you could disable image discarding using the MOZ_DISABLE_IMAGE_DISCARD environment variable.
Thanks for breaking this out and ensuring it got followed up, I was going to go through bug 598466 and follow up the loose ends at some point, just hadn't had a chance. Given bug 598466 comment 65, my feeling is that this increase might be due to the discardable about:config pref not existing back then. When I tested I only used the about:config setting and didn't set the environment variable, so I will retest shortly with the environment var set ("SET MOZ_DISABLE_IMAGE_DISCARD=1" in the command prompt prior to running yeah?) and see if that affects (effects?) the results.
Ah ok, missed comment 4 before writing that, somewhat made my previous post redundant. Well guess it's more than likely the ENV variable is the cause then, but will confirm for sure tomorrow. Thanks!
blocking2.0: ? → betaN+
Ed, have you had a chance to look at this?
Assignee: nobody → my.private.signup.account
Sorry for the delay. Using the _90_ tab testcase and methodology (ie: discardable about.config pref set to false, but environment variable not set) from bug 598466 comment 97: 2009-09-13: 330/348/495 2009-09-14: 508/530/667 Now with environment variable MOZ_DISABLE_IMAGE_DISCARD=1: 2009-09-13: 515/536/684 2009-09-14: 500/522/649 Therefore this increase was purely due to the image.mem.discardable = false preference not being implemented in builds before 2009-09-14 - and the need to therefore use the environment variable instead. Marking as resolved invalid, sorry for the false alarm. (Least one less increase to deal with now!)
Assignee: my.private.signup.account → nobody
Status: NEW → RESOLVED
blocking2.0: betaN+ → ---
Closed: 14 years ago
Keywords: regression
OS: Mac OS X → All
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.