Closed Bug 406081 Opened 17 years ago Closed 14 years ago

Strange things in memory cache handling

Categories

(Firefox :: General, defect)

2.0 Branch
x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: nitr0, Unassigned)

Details

(Whiteboard: [CLOSEME 2010-07-30])

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; ru; rv:1.8.1.10) Gecko/20071115 Firefox/2.0.0.10 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; ru; rv:1.8.1.10) Gecko/20071115 Firefox/2.0.0.10 In the cache usage info I see such lines: Memory cache device Number of entries: 1817 Maximum storage size: 32768 KiB Storage in use: 42248 KiB Inactive storage: 0 KiB Storage in use is bigger than Maximum storage size. Reproducible: Didn't try Steps to Reproduce: Continuously web-surfing, and ~35 pages opened (every page is much smaller by 1 MB)
(In reply to comment #0) > Storage in use is bigger than Maximum storage size. That's normal because it's not a hard limit. A single page can use more memory, for instance by using 50 images of 1 MB, which would be more than your 32MB. It happens sometimes when you use tabs, because each tab is consuming memory, and the total can be quite high. Note that this is an *image* cache, it's not used for pages. And an image is much larger in memory than on disk too. A single page with a couple of images can easily consume 10 megabytes. What probably happened here is that some of that memory got locked, and can't be removed from the cache again. That counts as a memory leak. But Firefox 3 will be a lot better in that regard.
If it's a soft limit, we shouldn't call it a "maximum" :)
This bug was originally reported on Firefox 2.x or older, which is no longer supported and will not be receiving any more updates. I strongly suggest that you update to Firefox 3.6.6 or later, update your plugins (flash, adobe, etc.), and retest in a new profile. If you still see the issue with the updated Firefox, please post here. Otherwise, please close as RESOLVED > WORKSFORME http://www.mozilla.com http://support.mozilla.com/kb/Managing+profiles http://support.mozilla.com/kb/Safe+mode
Whiteboard: [CLOSEME 2010-07-30]
Version: unspecified → 2.0 Branch
No reply, INCOMPLETE. Please retest with Firefox 3.6.8 or later and a new profile (http://support.mozilla.com/kb/Managing+profiles). If you continue to see this issue with the newest firefox and a new profile, then please comment on this bug.
Status: UNCONFIRMED → RESOLVED
Closed: 14 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.