Last active
June 20, 2016 00:49
-
-
Save eshrinivasan/89b76c4f270944ba7399a9a7f72bedd9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
>> Accidental global variable | |
>> Circular references: | |
javascript obj = dom object; | |
dom object property = javascript obj; | |
>> Improper use of closures | |
>> SetInterval | |
------------------- | |
>>Algorithms | |
mark and sweep algorithm | |
reference counting algorithm | |
>>How to avoid! | |
object = null | |
clearTimeout | |
'use strict' | |
http://www.ibm.com/developerworks/web/library/wa-memleak/ | |
https://auth0.com/blog/2016/01/26/four-types-of-leaks-in-your-javascript-code-and-how-to-get-rid-of-them/ | |
http://javascript.info/tutorial/memory-leaks |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment