Closed
Bug 433969
Opened 17 years ago
Closed 13 years ago
Cache clearing, displayed memory cache usage is incorrect
Categories
(Core :: Networking: Cache, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 277473
People
(Reporter: bugreportaccount1, Unassigned)
Details
(Whiteboard: dupme)
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14
Before clearing my cache, memory cache usage was at 135,951 KiB. I've set the about:config setting browser.cache.memory.capacity to 15000, so that alone is pretty weird. (It seems like there's already another entry on that topic though.)
After using Tools -> Clear Private Data to clear (only) the cache and then checking about:cache, I'm presented with the new memory cache usage figure of 4,194,287 KiB. Checking the memory usage in Process Explorer shows that Firefox hasn't particularly changed how much memory its using.
Reproducible: Didn't try
Steps to Reproduce:
1. Browse around a bit so there's something in your cache.
2. Go to tools, select "Clear Private Data..."
3. Choose only "Cache"
4. Click on "Clear Private Data Now"
5. Check the value of about:cache
Actual Results:
The memory cache value was bizarre. Disk cache was zero, as expected. There were no entries listed in the memory cache.
Expected Results:
Memory cache should have been zero.
I am using a windows laptop running Vista with 766 MB of RAM. I don't remember how long Firefox has been open before finding this problem, but it's probably been after several days of usage.
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.21) Gecko/20090303 SeaMonkey/1.1.15
I can confirm this behaviour, performing
Components.classes["@mozilla.org/network/cache-service;1"].getService(Components.interfaces.nsICacheService).evictEntries(Components.interfaces.nsICache.STORE_IN_MEMORY)
leaves about:cache with the following values:
Memory cache device
Number of entries: 0
Maximum storage size: 24576 KiB
Storage in use: 4194302 KiB
Inactive storage: 0 KiB
Memory usage did not change, even tho this might be a bug on its own (previous in-use value was roughly 460 MB with ~700 MB memory usage, after clearing its still at 700 MB memory usage; not to mention it exceeded the maximum storage size)
Windows XP SP2 with 2 GB of RAM.
Installed Plugins: AdBlock, Webdeveloper Bar, UserAgent Switcher.
Comment 2•14 years ago
|
||
I see this using current trunk. but iirc, this is a duplicate
Mozilla/5.0 (Windows; Windows NT 6.0; rv:2.0b3pre) Gecko/20100723 Minefield/4.0b3pre
Severity: normal → minor
Component: General → Networking: Cache
Product: Firefox → Core
QA Contact: general → networking.cache
Summary: Cache clearing does weird things to displayed memory cache usage → Cache clearing, displayed memory cache usage is incorrect
Whiteboard: dupme
Version: unspecified → Trunk
Comment 3•14 years ago
|
||
Probably a duplicate of bug 277473?
Updated•13 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 13 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•