(In reply to Kristian F from comment #4)
> @smfr, we're unable to isolate the issue to a single aspect of mapbox-gl-js.
> In addition, the same benchmarking tests causes another popular web-gl based
> map library, Tangram [https://github.com/tangrams/tangram] to crash on iOS
> devices as well. See
> https://github.com/mapbox/mapbox-gl-js/issues/4695#issuecomment-323087798
> for details.
>
> Let me know if you'd like an isolated test case for this issue.
The answer to “would you like an isolated reproducible test case?” is almost always *yes* :)
Thanks for your help tracking this down!

@brady:
Np, let me know if there is anything else I can do to help resolve this!
You'll find a test example here: https://kristfal.github.io/mapbox-memory-test/
To reproduce a OOM crash:
1) Open the web page above on an iPad. They make the best test case due to larger screen size. I'd recommend using an iPad A1475 or another model with 1 GB RAM for consistent and quick results
2) Press Start in the top left corner and the map will start animating through a predefined path and load map tiles as it animates
3) Memory usage will continue to increase until the browser tab eventually crashes and reloads with the 'A problem occurred..' message
For iPads with 2GB memory, this happens when the com.apple.Webkit process has consumed between 750 and 850 MB of "Real memory". For iPads with 1GB memory, this happens at around 400 - 500 MB.
Drop me a line if you have any questions or if you're unable to reproduce the crash.