Bug 172790 - Out of memory crash with MapBox-gl-js
Summary: Out of memory crash with MapBox-gl-js
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebGL (show other bugs)
Version: Safari 10
Hardware: All All
: P2 Normal
Assignee: Nobody
Keywords: InRadar
Depends on:
Reported: 2017-05-31 17:45 PDT by zac spitzer
Modified: 2017-06-08 15:10 PDT (History)
5 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description zac spitzer 2017-05-31 17:45:18 PDT
quoted from https://github.com/mapbox/mapbox-gl-js/issues/4695#issuecomment-305221298

I've been digging deeper into this, and it seems like there is a memory leak in Safari on both mobile and desktop for mapbox-gl-js.

All mobile debugging have been done with the basic mapbox example https://www.mapbox.com/mapbox-gl-js/examples/ 
on an iPad Pro 6,3 (2 GB ram) running iOS 10.3.1. Desktop debugging was done on OS X Safari 10.1.
Comment 1 zac spitzer 2017-05-31 17:52:35 PDT
The error message is "A problem occurred with this webpage so it was reloaded" adding it so people can find this bug if looking for it
Comment 2 Radar WebKit Bug Importer 2017-05-31 19:54:27 PDT
Comment 3 Simon Fraser (smfr) 2017-06-08 15:10:13 PDT
There does look to be a WebGL-related leak here. We'd have to check whether the page is entraining the data.