Bug: memory leak on deleting marker
@wangela がすでに取り組んでいます。
2023年2月22日 から。
評価
この issue はまだ評価されていません。
説明
Operating system
Windows 10, 19045.2604
Browser Version
Chrome 110.0.5481.104
How severe is the bug?
high
Bug description
When trying to remove a marker from the map using setMap(null) and set the object and all known references to null, marker stays in memory.
Steps to reproduce
You can reproduce it with your own example:
https://jsfiddle.net/gh/get/library/pure/googlemaps/js-samples/tree/master/dist/samples/marker-remove/jsfiddle
- open the url
- create a heap memory dump in developer tools
- search for "_.wh". There are four objects
- click on "delete markers" in jsfiddle
- click on garbage collector in developer tools
- create a new heap memory dump in developer tools
- search for "_.wh". There should be one less, but still four availble.
Console log output
No response
- 主要言語
- TypeScript
- スター
- 804
- フォーク
- 826
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
googlemaps/js-samples のほかの issue
-
Advanced Markers Animation Unused Variable対応中かも @treckstar が 832 日前に担当しました。 オープン
難易度 1/5 1時間未満 初心者へのやさしさ 68/100
googlemaps/js-samples#1794 ·
-
Driverオープン
難易度 5/5 1週間以上 初心者へのやさしさ 5/100
googlemaps/js-samples#1940 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 35/100
googlemaps/js-samples#1932 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 32/100
googlemaps/js-samples#1914 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
googlemaps/js-samples#1827 · コメント 1 件 ·
googlemaps/js-samples の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
awslabs/visual-asset-management-system#1278 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
mifi/lossless-cut#3213 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 83/100
plasma-umass/scalene#1123 ·
メンテナーはふだん 1 日以内に返信