Hacker News new | ask | show | jobs
by Someone 1 day ago
I haven’t read the article, but for allocations that large, chances are they get allocated as entire memory pages and the garbage collector returns that memory to the OS.

Also, even if it doesn’t, in a 64-bit address space it takes lots of 1MB objects to make that cause problems (there’s room for over 10¹⁶ of such objects)

1 comments

Correction: over 10¹³. Still a lot.
Sounds like a challenge.