Closed
Bug 687232
Opened 14 years ago
Closed 14 years ago
Emptying the cache takes a very long time
Categories
(Core :: Networking: Cache, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 670911
People
(Reporter: ygoe, Unassigned)
Details
User Agent: Mozilla/5.0 (Windows NT 5.1; rv:6.0.2) Gecko/20100101 Firefox/6.0.2
Build ID: 20110902133214
Steps to reproduce:
Empty the cache from the Firefox settings dialogue.
Actual results:
It stood there for a very long time. Removing 50 MiB took almost a minute, the original 1 GiB setting took me something like an hour (don't remember anymore but it was unacceptable, so I reduced the cache size). Scratching my hard disk the whole time.
Expected results:
No delay or at maximum some seconds. I mean, how hard can it be to remove a cache database file from disk?
Comment 1•14 years ago
|
||
So you cache size is currently set at 50 Mb and used to be at 1 Gb?
Component: General → Networking: Cache
Product: Firefox → Core
QA Contact: general → networking.cache
Reporter | ||
Comment 2•14 years ago
|
||
1 GiB is the default setting for new profiles (or upgrades from an earlier Firefox version). Since it took virtually forever to clear that when I first did it, I set it down to 50 MiB. Now it still takes a long time, but at least not forever anymore.
Updated•14 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 14 years ago
Resolution: --- → DUPLICATE
Reporter | ||
Comment 4•14 years ago
|
||
Bug 670911 doesn't sound like it's mine. But as I don't fully understand it, I'd wait for an official Firefox release that includes it to verify the issue. When can I expect that? Is it included in Firefox 6 already (which would make the resolving wrong immediately) or will it come with Firefox 7 or 8?
To clarify things btw, the Firefox UI does freeze while it clears the cache and there is massive disk activity all the time. It doesn't look like some kind of dead lock or timeout, it really does work. It just takes much time. This wasn't the case with earlier Firefox versions (< 4?).
Comment 5•13 years ago
|
||
Deleting files (whether manually, or automatically after a crash) used to be very slow, because of a file permission problem on windows (that's the I/O you see) in Firefox 4. It wasn't the deletion of the files itself (which is done in the background), but the rename of the Cache directory to Cache.trash took a very long time.
The fix is currently in Aurora, so it will appear in Firefox 8.
You need to log in
before you can comment on or make changes to this bug.
Description
•