This guide summarizes some helpful strategies and resources encountered while debugging memory usage in the
In JS, memory issues occur when old objects aren't garbage collected, and pile up on the heap. We can observe the issue by noting performance degradation over time, or by maxing out memory within a single program.
Typically memory issues are discovered because performance slows down. You might also encounter this fun error if your program runs out of memory: