TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

The process that kept dying: A memory leak murder mystery

28 pointsby luketheobscure10 months ago

5 comments

chmod77510 months ago
The site is broken right now, but I read this when it was first submitted some time ago.<p>Contrary to what the title would suggest, it&#x27;s about finding a mundane JS memory leak in moment.js by attaching the chrome inspector to node. There&#x27;s no out-of-the-ordinary tale here and there&#x27;s certainly little mystery.<p>The article might be useful if you&#x27;ve never done it before and need some pointers.
oneepic10 months ago
I&#x27;d like to read this article but keep getting ERR_TOO_MANY_REDIRECTS. Sorry, your site seems broken.
评论 #41080747 未加载
johnnyapol10 months ago
Is anyone else getting a redirect loop when trying the link? At first I was thinking it had to do with my Firefox settings to force HTTPS but even just:<p>curl -L lukedeniston.com&#x2F;memory-leak-mystery<p>&gt; curl: (47) Maximum (50) redirects followed<p>isn&#x27;t working.
评论 #41080762 未加载
throw15675422810 months ago
&gt;The NODE_OPTIONS were only applying to the yarn process, not the underlying Next.js server that was being invoked by yarn.<p>Doesn&#x27;t make sense. All child processes should get that env var.
Charon7710 months ago
In my team we actually had to do performance test every time we update our libraries, and never auto update.
评论 #41080695 未加载