An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

          

# Memory Leaks
[![Утечки памяти, сборка мусора и профилирование](https://img.youtube.com/vi/0oZa64SB2wM/0.jpg)](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