Memory Management in V8, garbage collection and improvements

· Jennie · Nov. 4, 2021, 11:44 p.m.
Summary
I believe most of us have seen "Javascript heap out of memory" exception somewhere. What does it really mean? Well, to answer this question we need to talk a bit about the engine that powers both the Chromium browsers and Node.js - V8, and how it manages its memory consumption. The memory model The memory space of V8 is categorised into 2 - Stack memory and Heap memory, and the Heap memeory is further divided into multiple spaces to serve different purposes. Here is an comprehensive and ...
AUTHOR
BLOG POST FEATURED ON

Add this plugin to your blog