[Webkit-unassigned] [Bug 222898] New: getUserMedia memory leak when switching camera
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun Mar 7 23:54:45 PST 2021
https://bugs.webkit.org/show_bug.cgi?id=222898
Bug ID: 222898
Summary: getUserMedia memory leak when switching camera
Product: WebKit
Version: Safari 14
Hardware: iPhone / iPad
OS: iOS 14
Status: NEW
Severity: Normal
Priority: P2
Component: WebRTC
Assignee: webkit-unassigned at lists.webkit.org
Reporter: darius.chris.k at gmail.com
CC: youennf at gmail.com
Created attachment 422547
--> https://bugs.webkit.org/attachment.cgi?id=422547&action=review
Memory timeline recording
Releasing an old media stream and getting a new media stream with a different camera seems to leak memory, though not for every switch, or to the same extent on every website. You can see in the attached image my reproduction on https://webrtc.github.io/samples/src/content/devices/input-output/ - the memory use for 'Pages' doubles as I continually switch between front and back camera, and after I stop switching at around 160s, does not ever go back down. On more complex Angular/React websites with a higher memory footprint, a single switch is even causing some devices to reload the page and produce a jetsam event. Let me know if there are any more details I can provide to help.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20210308/6ef6bb4f/attachment.htm>
More information about the webkit-unassigned
mailing list