Closed
Bug 736383
Opened 13 years ago
Closed 11 years ago
Add memory reporter for TableUpdates
Categories
(Toolkit :: Safe Browsing, defect)
Toolkit
Safe Browsing
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: n.nethercote, Unassigned)
References
(Blocks 1 open bug)
Details
(Whiteboard: [MemShrink:P2])
Attachments
(1 file)
8.95 KB,
text/plain
|
Details |
With the new version of DMD (bug 717853) I found that TableUpdates in the url-classifier are taking up a decent chunk of memory. In one run where I had 5 gmail tabs open, TableUpdates accounted for over 3.8MB of memory, in mAddPrefixes, mSubPrefixes, mAddCompletes, mSubCompletes. I've attached the relevant part of DMD's output, which shows a tree of stack traces from allocation points.
I'm not certain, but I think we can report those by traversing over nsUrlClassifierDBService::mWorker->mTableUpdates.
Comment 1•13 years ago
|
||
Do we want to add memory reporting for transient datastructures? Or are you saying here there's a potential memory leak?
TableUpdates are supposed to exist for +-15s every half hour.
Reporter | ||
Comment 2•13 years ago
|
||
(In reply to Gian-Carlo Pascutto (:gcp) from comment #1)
> Do we want to add memory reporting for transient datastructures? Or are you
> saying here there's a potential memory leak?
>
> TableUpdates are supposed to exist for +-15s every half hour.
I don't know if it's a leak. It just showed up in the DMD snapshot. I guess I may have got lucky and hit that 15s, but maybe they actually hang around longer than that.
Updated•13 years ago
|
Whiteboard: [MemShrink] → [MemShrink:P2]
Reporter | ||
Comment 3•11 years ago
|
||
I don't recall seeing these again. Probably not worth doing.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WONTFIX
Assignee | ||
Updated•11 years ago
|
Product: Firefox → Toolkit
You need to log in
before you can comment on or make changes to this bug.
Description
•