frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Finding a VS Code Memory Leak

https://randomascii.wordpress.com/2025/10/09/finding-a-vs-code-memory-leak/
55•brucedawson•7h ago

Comments

brucedawson•7h ago
In 2021 I found an invisible memory leak in a tool (VS Code) that I have never used. This is the story of how.
anonymousDan•5h ago
Re the last wish, isn't that exactly what ulimit is for?
diath•4h ago
On Linux, yes, but this was Windows-specific code and Windows has no equivalent mechanism to ulimits.
Arnavion•32m ago
There are job objects which are similar to Linux cgroups, including the ability to set a limit on the number of processes. But I'm not sure if that limit will be tripped in this case or not because the child processes have exited, whereas the job object parameter is specifically called LIMIT_ACTIVE_PROCESS

https://learn.microsoft.com/en-us/windows/win32/procthread/j...

https://learn.microsoft.com/en-us/windows/win32/api/winnt/ns...

anonymars•5h ago
> Sometimes I think it would be nice to have limits on resources in order to more automatically find mistakes like this

I was actually fairly disappointed when Visual Studio (not code) went to 64-bit. Because I knew its memory usage was now going to be unconstrained. Still way better than the unapologetic gluttony of Rider but experiences showed it to be a bit leaky over time (tip: Ctrl-Alt-Shift-F12 twice does a full garbage collection https://learn.microsoft.com/en-us/visualstudio/ide/visual-st...)

Also remember that all your references (pointers) are going to double in size so right off the bat it will use more, potentially a lot more depending on how reference-heavy your data is

criemen•4h ago
> For obscure technical reasons they are always multiples of four.

Why did I know that that link went to Raymond Chen before clicking it... That man is a treasure.

The RubyGems "Security Incident"

https://andre.arko.net/2025/10/09/the-rubygems-security-incident/
1•semiquaver•1m ago•0 comments

The Abundance of Deceit

https://slavesincstrip.medium.com/the-abundance-of-deceit-ce7b86f2b13f
2•thunderbong•10m ago•1 comments

AI Prompt Optimizer – Boost Your Prompts with PromptBoost

https://prompt-boost.com
1•icstmcf•11m ago•0 comments

A 7M parameter network just outscored huge LLMs on ARC AGI

https://www.arxiv.org/pdf/2510.04871
2•llosio•13m ago•0 comments

Managing Encrypted Filesystems with dirlock

https://lwn.net/Articles/1038859/
3•pykello•19m ago•0 comments

Denominate U.S. stocks in gold rather than dollars, and they've been in decline

https://twitter.com/elerianm/status/1976237139185574170
3•SilverElfin•24m ago•0 comments

Daily Show Interview with Tristan Harris on AI Dangers [video]

https://www.youtube.com/watch?v=675d_6WGPbo
2•kjohnston71•28m ago•0 comments

Vexing Exceptions

https://ericlippert.com/2008/09/10/vexing-exceptions/
1•CGamesPlay•37m ago•0 comments

A Manhwa about job-hopping in Tech

https://www.webtoons.com/en/drama/ctrl-alt-resign/list?title_no=8384
2•Shuddown•38m ago•0 comments

Show HN: 100% free static site hosting for you with custom subdomains

https://pagey.site
1•freakynit•39m ago•0 comments

How Parents Manage Screen Time for Kids

https://www.pewresearch.org/internet/2025/10/08/how-parents-manage-screen-time-for-kids/
1•thm•39m ago•0 comments

I built CodeIngest (like gitingest for local files)

https://github.com/shubhdotai/codeingest
1•mshubham•40m ago•0 comments

Microsoft engineer resigns over cloud business from Israeli military

https://www.cnbc.com/2025/10/09/microsoft-engineer-resigns-over-cloud-business-from-israeli-milit...
6•cramsession•54m ago•0 comments

Show HN: I Found a Way for Crypto Casinos to Be Fair

https://probablyfair.org/
1•ccheshirecat•56m ago•0 comments

Connecting Cloud Apps to Industrial Equipment with Tailscale

https://wedgworth.dev/connecting-cloud-apps-to-industrial-equipment-with-tailscale/
1•paltman•58m ago•0 comments

Open-Source Agentic AI

https://github.com/AFK-surf/open-agent
4•Johnson8053•1h ago•0 comments

How the Gaza ceasefire deal was done

https://www.theguardian.com/world/2025/oct/09/how-the-gaza-ceasefire-deal-was-done-donald-trump
3•andsoitis•1h ago•2 comments

The phaseout of the MMAP() file operation

https://lwn.net/Articles/1038715/
2•signa11•1h ago•0 comments

A low cost modular actuator for dynamic robots (2018)

https://dspace.mit.edu/handle/1721.1/118671
3•nill0•1h ago•0 comments

Onyx Boox Note Air 4 C Review: The Best Color E Ink Tablet for Most People

https://www.pcmag.com/reviews/onyx-boox-note-air-4-c
2•teleforce•1h ago•0 comments

Claude Code's Web Tools: WebFetch vs. WebSearch

https://mikhail.io/2025/10/claude-code-web-tools/
2•alwillis•1h ago•0 comments

Gene-Edited Tomatoes Might Boost Vitamin D Levels–That Doesn't Mean They're Safe

https://publichealthpolicyjournal.com/gene-edited-tomatoes-might-boost-vitamin-d-levels-but-that-...
1•bookmtn•1h ago•2 comments

Intent Weaving for AI Coding Agents

https://www.autohand.ai/updates/intent-weaving
3•igorpcosta•1h ago•1 comments

Organizations, Like Code, Deserve Refactoring

https://robbyonrails.com/articles/2025/10/09/organizations-like-code-deserve-refactoring/
1•mooreds•1h ago•0 comments

The new AI arms race changing the war in Ukraine

https://www.bbc.com/news/articles/cly7jrez2jno
2•starwatch•1h ago•0 comments

Home Education Resources for Gifted Kids

https://www.goodthoughts.blog/p/home-education-resources
2•rahimnathwani•1h ago•0 comments

Advice on Upskilling

https://docs.google.com/document/d/17qFY5w9uEWL4VVyJSTEmSSRyvegh_Y4N6NMSxwCmGaE/edit
1•rahimnathwani•1h ago•0 comments

Show HN: Indiebooks – Free bookkeeping that auto-fills CRA/IRS tax forms

https://indiebooks.io
1•maxjasper•1h ago•0 comments

Show HN: Brinode – create n8n automations and AI agents from plain text

https://brinode.com/
2•abdulhak•1h ago•0 comments

Elevator AI: Create Elevator Portraits

https://www.elevatorai.online
1•yszhu•1h ago•0 comments