• by chmod775 on 7/26/2024, 6:13:22 PM

    The site is broken right now, but I read this when it was first submitted some time ago.

    Contrary to what the title would suggest, it's about finding a mundane JS memory leak in moment.js by attaching the chrome inspector to node. There's no out-of-the-ordinary tale here and there's certainly little mystery.

    The article might be useful if you've never done it before and need some pointers.

  • by oneepic on 7/26/2024, 5:57:57 PM

    I'd like to read this article but keep getting ERR_TOO_MANY_REDIRECTS. Sorry, your site seems broken.

  • by johnnyapol on 7/26/2024, 5:58:11 PM

    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:

    curl -L lukedeniston.com/memory-leak-mystery

    > curl: (47) Maximum (50) redirects followed

    isn't working.

  • by throw156754228 on 7/27/2024, 6:00:37 AM

    >The NODE_OPTIONS were only applying to the yarn process, not the underlying Next.js server that was being invoked by yarn.

    Doesn't make sense. All child processes should get that env var.

  • by Charon77 on 7/26/2024, 3:56:57 AM

    In my team we actually had to do performance test every time we update our libraries, and never auto update.