Garbage collection and memory leaks in JavaScript

#JavaScript #V8 #GarbageCollection V8, a JavaScript engine implemented in Chrome, is known to perform periodic garbage collection. While searching for information related to this, I will try to follow Daniel Khan’s writing and summarize my feelings. The article can be read at the link below. Understanding Garbage Collection and Hunting Memory Leaks in Node.js Resident Set ¶ V8 operates memory with a structure called ‘Resident Set’. Just as the Java Virtual Machine (JVM) divides memory into several segments, it is said that memory is divided into Code, Stack, and Heap areas by the Resident Set structure....

November 29, 2017 · baek9
🇰🇷