Last Commit: 2024-01-06 17:50:27
views:
Table of Content
Memory Leak
Browser
NodeJS
Compared to the memory leak in the browser, nodejs memory leak maybe is more dangerous.
As it runs on the server side and normally run for a long time, if the memory leak leads to crush the service, it can be a disaster.
The common leaking codes in nodejs is as below:
global variables
closure
EventEmitter