Excessive Memory Usage (3x Chrome) with mapbox-gl
Categories
(Core :: JavaScript: GC, defect)
Tracking
()
People
(Reporter: irvinzio.ram, Unassigned, NeedInfo)
Details
Attachments
(1 file)
+++ This bug was initially created as a clone of Bug #1392547 +++
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.101 Safari/537.36
Steps to reproduce:
The following test case crashes Safari
https://kristfal.github.io/mapbox-memory-test/
from https://bugs.webkit.org/show_bug.cgi?id=172790#c6
Actual results:
Firefox nightly doesn't crash, but it does end up using more than 1.2GB of ram
https://perf-html.io/from-addon/calltree/?hiddenThreads=&thread=2&threadOrder=0-2-3-4-6-1-5
Expected results:
Chrome only uses about 400MB of ram
Comment 1•2 years ago
|
||
(In reply to irvinzio.ram from comment #0)
The following test case crashes Safari
https://kristfal.github.io/mapbox-memory-test/
from https://bugs.webkit.org/show_bug.cgi?id=172790#c6Actual results:
Firefox nightly doesn't crash, but it does end up using more than 1.2GB of ram
I tested on macos and Windows. The memory use never climbed. Not sure if the page is working correctly? Nothing seems to happen.
https://perf-html.io/from-addon/calltree/?hiddenThreads=&thread=2&threadOrder=0-2-3-4-6-1-5
This is a link to a local profile only, if you want others to see it you have to upload it.
| Reporter | ||
Updated•2 years ago
|
Comment 2•2 years ago
|
||
I'm going to resolve this as invalid given Timothy's testing.
We'd need a profile, the contents of about:support before this is actionable.
| Reporter | ||
Comment 3•2 years ago
|
||
In order to scale up the memory, you need to zoom in, zoom out and move the map, seems that map keeps rendering and using more memory each render and neve clear that memory.
Comment 4•2 years ago
|
||
I don't see a map at all in the testcase, I just see a blank page.
Description
•