[Webkit-unassigned] [Bug 172790] Out of memory crash with MapBox-gl-js

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Dec 3 14:56:21 PST 2018


--- Comment #30 from Dean Jackson <dino at apple.com> ---
@DT. I can reproduce this on the hillshade example. I note that after a lot of zooming and panning, the JS heap snapshot shows a lot of un-collected ArrayBuffers. The biggest handful are all 4MB, and don't increase in number.

However there are thousands of smaller buffers, from approx 200k to 0 that are never garbage collected. They are all marked as root objects, in that they are hanging off the window.

Using the heap profiler/snapshot, it looks like the buffers come from:

- GridIndex
- Placement.retainedQueryData
- Map.style
- image.data

and a few other places.

The same thing happens in Google Chrome - which suggests it's probably an issue in MapBox.

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/20181203/331db54e/attachment-0001.html>

More information about the webkit-unassigned mailing list