Closed
Bug 572274
Opened 12 years ago
Closed 12 years ago
Canvas memory usage in about:memory is incorrect
Categories
(Core :: Canvas: 2D, defect)
Tracking
()
RESOLVED
FIXED
mozilla2.0b1
Tracking | Status | |
---|---|---|
blocking2.0 | --- | beta2+ |
People
(Reporter: robarnold, Assigned: vlad)
Details
Attachments
(1 file)
652 bytes,
patch
|
robarnold
:
review+
|
Details | Diff | Splinter Review |
about:memory is telling me I have all but 4 MB of my mapped memory devoted to canvas surfaces. This is most certainly incorrect.
Assignee | ||
Comment 1•12 years ago
|
||
Yeah, it's not correctly tracking canvases that are resized (it just keeps adding memory over and over). Easy fix, will do asap.
Reporter | ||
Updated•12 years ago
|
blocking2.0: --- → ?
Assignee | ||
Comment 2•12 years ago
|
||
I /think/ this should fix it -- does this look right to you, rob? Basically we don't report any memory usage if we were created with a presshell as opposed to coming from the DOM.
Attachment #454318 -
Flags: review?
Assignee | ||
Updated•12 years ago
|
Attachment #454318 -
Flags: review? → review?(tellrob)
Reporter | ||
Comment 3•12 years ago
|
||
Comment on attachment 454318 [details] [diff] [review] fix Looks like this works.
Attachment #454318 -
Flags: review?(tellrob) → review+
Updated•12 years ago
|
blocking2.0: ? → beta2+
Comment 4•12 years ago
|
||
http://hg.mozilla.org/mozilla-central/rev/1265868dc033
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9.3b1
Other Measurements -1.25 MB -- canvas-2d-pixel-bytes 0.08 MB -- gfx-surface-image 2.21 MB -- gfx-surface-xlib 65.06 MB -- heap-allocated 2.99 MB -- heap-dirty 78.93 MB -- heap-unallocated 2 -- js-compartments-system 9 -- js-compartments-user 26.00 MB -- js-gc-heap 1.74 MB -- js-gc-heap-arena-unused 0.00 MB -- js-gc-heap-chunk-clean-unused 11.11 MB -- js-gc-heap-chunk-dirty-unused 49.42% -- js-gc-heap-unused-fraction 121 -- page-faults-hard 782,042 -- page-faults-soft 155.82 MB -- resident 798.87 MB -- vsize Found in linux x86_64 build of revision b384cfab8b1d. Is this a regression?
You need to log in
before you can comment on or make changes to this bug.
Description
•