question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

AgmMap inside child component causing memory leak

See original GitHub issue

Steps to reproduce and a minimal demo of the problem Use a component that contains AgmMap inside *ngIf and toggle the statement several times.

What steps should we try in your demo to see the problem? http://plnkr.co/edit/9lv8oO?p=info

Current behavior The detached component doesn’t flush from memory.

Expected/desired behavior The detached component should flush from memory.

angular2 & angular-google-maps version Angular: 4.4.4 Agm: 1.0.0-beta.1

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:5
  • Comments:10 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
gabrifercommented, Mar 7, 2018

Any news regarding this issue?

0reactions
stale[bot]commented, Nov 5, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Read more comments on GitHub >

github_iconTop Results From Across the Web

AgmMap inside child component causing memory leak #1207
The detached component doesn't flush from memory. Expected/desired behavior. The detached component should flush from memory. angular2 & angular ...
Read more >
Memory leaks in Angular2 - Stack Overflow
Over a recent project that I have done, I use Event emitter and listeners for child components to talk to parent components.
Read more >
Datadown to a component leads to memory leak? - Ember.JS
I have a simple ember app that does data-down to a component. I basically want to avoid memory leaks in my app. I...
Read more >
Debugging Memory Leaks in Angular | by Giancarlo Buomprisco
In layman's terms, a memory leak occurs when an application fails to get rid of unused resources. If the memory of an application...
Read more >
angular/angular - Gitter
Anyone using material and know how to set selected on a dynamically loaded list of items in a mat-select?
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found