Closed Bug 1765027 Opened 3 years ago Closed 3 years ago

http://aem1k.com/mona is much faster with accelerated canvas, but leaks memory

Categories

(Core :: Graphics: Canvas2D, enhancement)

enhancement

Tracking

()

RESOLVED DUPLICATE of bug 1763370

People

(Reporter: mayankleoboy1, Unassigned)

References

(Blocks 1 open bug, )

Details

Attachments

(1 file)

enable accelerated canvas
Go to https://codepen.io/jaysalvat/pen/kazzOj

AR: demo is fast (as compared to unaccelerated canvas) but memory leaks

Attached file about:support
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → DUPLICATE

Hi Lee. With Nightly as of https://hg.mozilla.org/mozilla-central/rev/c59c06e50b89ab3772d032e6a2344abbd505fe0d , I can still repro this bug.
If I let the demo run, the memory very quickly reaches 1.3GB.

Should this bug be unduped ?

Flags: needinfo?(lsalzman)

As noted elsewhere, I solved the main escalation of memory, and there is still going to be some expected memory hit from accelerated canvas left over, but it is bounded. I did not observe any unbounded memory usage with my fixes in place. I think rather than unduping all these bugs we should rather file a separate bug to address a specific testcase that easily shows where memory usage is still high (but separate from the unbounded memory usage that was happening before).

Flags: needinfo?(lsalzman)

Thanks for the explanantion. On taking a memory report, I see that the memory increase is in the webcontent process now, and mostly in heap-unclassified. (That is probably bug 1765026 )
So this bug is FIXED.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: