[Webkit-unassigned] [Bug 203650] New: Unbounded memory growth due to WebGL buffers not being freed
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Oct 30 18:16:56 PDT 2019
https://bugs.webkit.org/show_bug.cgi?id=203650
Bug ID: 203650
Summary: Unbounded memory growth due to WebGL buffers not being
freed
Product: WebKit
Version: Safari 12
Hardware: Macintosh
OS: macOS 10.14
Status: NEW
Severity: Normal
Priority: P2
Component: WebGL
Assignee: webkit-unassigned at lists.webkit.org
Reporter: arindam.bose at mapbox.com
CC: dino at apple.com
Created attachment 382401
--> https://bugs.webkit.org/attachment.cgi?id=382401&action=review
GL delete buffer memory growth example.
This is coming through from a bug report on Mapbox GL-JS
https://github.com/mapbox/mapbox-gl-js/issues/8771
Safari is seeing unbounded memory growth in interactions wherein the user is constantly loading and unloading tiles by panning or zooming the interactive map.
We were able to run use the Xcode instruments allocation tracker on a debug build of WebKit, and found that calls to `WebGLRenderingContext.deleteBuffer` was not freeing up memory.
We were able to confirm this by creating an isolated example page that repeatedly creates->uploads and then deletes a vertex buffer every frame, the example page is attached.
The process for the tab grows upto 6gb of memory consumption in 30s.
--
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/20191031/ff7bf1ed/attachment.htm>
More information about the webkit-unassigned
mailing list