https://github.com/howprogrammingworks/memoryleaks
Memory Leaks
https://github.com/howprogrammingworks/memoryleaks
garbage-collection gs javascript js memory-allocation memory-leak
Last synced: 5 months ago
JSON representation
Memory Leaks
- Host: GitHub
- URL: https://github.com/howprogrammingworks/memoryleaks
- Owner: HowProgrammingWorks
- License: mit
- Created: 2018-12-18T20:37:42.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2023-11-10T21:59:41.000Z (almost 2 years ago)
- Last Synced: 2025-03-31T12:58:12.831Z (6 months ago)
- Topics: garbage-collection, gs, javascript, js, memory-allocation, memory-leak
- Language: JavaScript
- Homepage: https://www.youtube.com/TimurShemsedinov
- Size: 22.5 KB
- Stars: 9
- Watchers: 6
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Memory Leaks
[](https://www.youtube.com/watch?v=0oZa64SB2wM)- References
- Global variables
- Multiple References
- Singleton
- Closures / Scopes
- Recursive closures
- Require in the middle of code
- Functions in loops
- OS and Language Objects
- Descriptors: files, sockets...
- setTimeout, setInterval
- Events / Sunscription
- EventEmitter
- Callbacks
- Cache
- Remove old values
- Limit cache size
- Remove rarely used values
- Mixins
- Mixin to built-in Classes
- Mixins to DOM
- Mixins to process, console, require
- Concurrency
- Processes
- Threads
- Workers# Memory
- C++ Code
- JavaScript Code
- Stack
- Heap
- External