{"version":"1.0","type":"rich","title":"readStreams leaking in Node","description":"This animation shows memory leaking in a Node.js process as it repeatedly creates read streams for a 2 MB file. Over 180 streams are spawned in a loop, each printing characters to indicate lifecycle events ('o' on open, '*' on data, '$' on end). Every 5 seconds, the script forces garbage collection via `--expose-gc` and logs the process’s resident set size (RSS) in megabytes, producing a stepwise upward trend that reveals how unclosed stream handlers accumulate and prevent memory from being reclaimed. The visualization renders this growth as an animated time series, highlighting the leak’s progression over time.","provider_name":"VizHub AI Studio","provider_url":"https://next.vizhub.com","html":"<iframe src=\"https://next.vizhub.com/viz/gist-5861041?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"1\"></iframe>","width":960,"height":500,"cache_age":3600}