Closed Bug 41398 Opened 25 years ago Closed 24 years ago

Flush memory cache on low-memory condition

Categories

(Core :: Networking: Cache, defect, P3)

All
Other
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: warrensomebody, Assigned: rpotts)

References

Details

(Keywords: arch, Whiteboard: [nsbeta3-] [have fix])

Attachments

(1 file)

Now there's a way to register an nsIMemoryPressureObserver with nsIMemory (the replacement for nsIAllocator). We should hook up the memory cache to this.
Keywords: arch
Status: NEW → ASSIGNED
Target Milestone: --- → M18
See bug 44352 for the larger issue.
Keywords: nsbeta3
assigning and approving.
Assignee: gagan → neeti
Status: ASSIGNED → NEW
Whiteboard: [nsbeta3+]
We are doubtful if this will get fixed. Will mark so soon once triage is complete.
Status: NEW → ASSIGNED
Marking nsbeta3- Seamonkey wont use memory cache(per cache meeting) and we are overflowing with work already. Rick Potts, do you want to take this bug. I thought we decided Rick was going to limit number of memcache entries. Maybe this could be done along with that.
Assignee: neeti → rpotts
Status: ASSIGNED → NEW
Whiteboard: [nsbeta3+] → [nsbeta3-]
I'm attaching a patch which makes the cache manager an observer of the low-memory notifications...
just waiting for approval to check the fix in...
Whiteboard: [nsbeta3-] → [nsbeta3-] [have fix]
I've just checked the patch into the trunk (r=neeti)
I'm closing this out since the SeaMonkey branch does not use the memory cache... So it doesn't make sense to check it into the branch.
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
verif. per discussion. sounds invalid.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: