Node Underground
Sep 25, 2020 · Backend Development
How a Tiny JSON.parse() Bug Crashed a Node.js Server – Inside the V8 script_list Leak
This article recounts a real‑world incident where a simple JSON.parse() try‑catch block triggered a massive memory leak in a Node.js 12 application, explains how the V8 engine’s script_list retained orphaned script objects, and shows how tools like gdb, llnode and heapdump can be used to locate and fix the issue.
GDBMemory LeakNode.js
0 likes · 10 min read
