Skip to content

JavaScript Memory Leaks #3

Answered by call3hudson
kamaalsultan asked this question in Q&A
Discussion options

You must be logged in to vote

There're basically four kinds of situation which trigger memory leaks.

  1. Accidental global variables
  2. Forgotten timers or callbacks
  3. Out of DOM references
  4. Closures

Here's the link to reference.
https://auth0.com/blog/four-types-of-leaks-in-your-javascript-code-and-how-to-get-rid-of-them/

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by kamaalsultan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants