Closed
Bug 665952
Opened 13 years ago
Closed 5 years ago
On Linux, when we store a decoded image inside the X server, we should report the memory used in about:memory
Categories
(Core :: Graphics: ImageLib, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: justin.lebar+bug, Unassigned)
References
Details
See bug 665832 comment 4: On Linux, when we "optimize" a decoded image, we upload it to the X server. We then free the memory inside Firefox, so the decoded image's size is not accounted for anywhere in about:memory.
This memory is still being used, so I think we should account for it in about:memory.
Comment 1•13 years ago
|
||
So this would be a separate non-heap reporter of some sort?
Reporter | ||
Comment 2•13 years ago
|
||
(In reply to comment #1)
> So this would be a separate non-heap reporter of some sort?
Correct. AFAICT the decoded image is not only outside the heap, it's not in our process's virtual memory, so it would be a completely separate reporter.
Comment 3•13 years ago
|
||
It'd have to be a MR_OTHER reporter, because it's neither MR_HEAP nor MR_MAPPED.
Comment 4•13 years ago
|
||
Alternatively, we could report on the X server process separately. A bit like bug 648415. That might be difficult, though.
Comment 5•13 years ago
|
||
(In reply to comment #4)
> Alternatively, we could report on the X server process separately. A bit
> like bug 648415. That might be difficult, though.
FWIW, the xrestop program is able to give some interesting information on the X server memory usage, pixmap counts, etc.
Reporter | ||
Comment 6•13 years ago
|
||
My patch for bug 670967 is going to fix this.
Reporter | ||
Comment 7•13 years ago
|
||
Whoops; wrong bug. I meant bug 664659.
Updated•5 years ago
|
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•