add pref to control image cache size

RESOLVED FIXED

Status

()

Core
ImageLib
P3
normal
RESOLVED FIXED
17 years ago
17 years ago

People

(Reporter: Chris Waterson, Assigned: dougt)

Tracking

({embed, memory-footprint})

Trunk
embed, memory-footprint
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

17 years ago
Right now, I believe that the image cache size has been hard-coded to 2MB. We 
need a pref so that embedders can tune this amount.
(Reporter)

Updated

17 years ago
Keywords: embed, footprint

Comment 1

17 years ago
dougt,
I thought you put this pref in way back in august.
-p
Assignee: pnunn → dougt
(Assignee)

Comment 2

17 years ago
Yup.  The pref is "browser.cache.image_cache_size".

We check here:

http://lxr.mozilla.org/seamonkey/source/gfx/src/nsImageManager.cpp#83


DISCLAIMER: I have no idea what this pref *really* does.  I can't say that 
imagelib honors it or not.
Status: NEW → RESOLVED
Last Resolved: 17 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.