Closed
Description
Hi,
I work on an one page application built on Angular and it uses a lot of maps.
My issue is that every time I instantiate a new map it will consume some memory that won't be released.
I measured the following with Chrome Web Inspector's Timeline: loading a map 100 times made the memory grow from 23MB to 160MB.
The issue is not directly related the angular-gm, but I don't see Google fixing that any time soon. The only fix I imagine is to instantiate a map and reuse it, it means that we need to be able to "rescue" it before Angular destroys the DOM, then "reset" and re-inject it later when another map is called.
Does anybody has that memory issue ?
Metadata
Metadata
Assignees
Labels
No labels