Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
cheerlessbog
on June 10, 2019
|
parent
|
context
|
favorite
| on:
Malloc Never Fails (2012)
Most of my programming experience is in Windows. Can someone briefly explain why it doesn't seem to need an OOM killer? Is it happier to page? Or it always commits on allocation? Or something else.
dooglius
on June 10, 2019
|
next
[–]
Windows does not have fork(), which as a sibling comment indicates is one of the main issues with removing overcommit.
detaro
on June 10, 2019
|
prev
|
next
[–]
AFAIK windows lets whatever application asks for memory and can't get it crash, whereas the OOM killer tries to be intelligent about what gets killed.
cesarb
on June 10, 2019
|
prev
[–]
AFAIK, Windows always commits on allocation, growing the swap file if necessary.
cheerlessbog
on June 11, 2019
|
parent
[–]
Why doesn't Linux do this?
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: