Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Memory Leak on Safari #8437

Closed
neore opened this issue Jul 6, 2019 · 3 comments
Closed

Memory Leak on Safari #8437

neore opened this issue Jul 6, 2019 · 3 comments

Comments

@neore
Copy link

neore commented Jul 6, 2019

mapbox-gl-js version: 1.1.0

browser: Safari 12.1.1 on Mojave

Steps to Trigger Behavior

  1. Load test page : https://dev.geopeche.com/test.html
  2. Zoom and pan actively since a few time
  3. Safari say "High memory usage..."

On Safari iOS, the page will be reload after memory leak.

Link to Demonstration

https://dev.geopeche.com/test.html

Expected Behavior

Don't use to many memory and don't crash...

Actual Behavior

Memory usage increase dramatically during zoom and pan actions to exceed max.
On Safari Desktop : A message appears to inform user of high memory usage.
On Safari iOS : Page will be force to reload.
On Safari iOS in PWA : Page will be reload 2 times and refuse to reload after a last try.
On Chrome iOS : Page crash with "Aïe, Aïe, Aïe" message at first memory leak.

In Web Inspector, memory climbs to exceed 3Go...
Capture d’écran 2019-07-06 à 23 05 40

@andrewharvey
Copy link
Collaborator

@neore is this the same as #8282 (which also stemmed from #4695)

@neore
Copy link
Author

neore commented Jul 8, 2019

After others tests :

  • Chrome iOS v75.0 is affected too with "Aïe Aïe Aïe" error page or "Aw, Snap!" in English version.
  • Firefox iOS v17.3 is affected too with force page reloading.

@asheemmamoowala
Copy link
Contributor

@neore on iOS, all browsers use the underlying Apple Webkit implementation.

Closing as duplicate #8282.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants