This is argument for the controller, not against it...
Posted Feb 17, 2011 5:55 UTC (Thu) by
khim (subscriber, #9252)
In reply to:
Go's memory management, ulimit -v, and RSS control by alkbyby
Parent article:
Go's memory management, ulimit -v, and RSS control
In practice programs don't cope well with the case where malloc returns 0. Worse: often they DO contain code which tries to do something but in reality it's poorly tested, buggy and often destroys more data then it saves.
It's probably good idea to provide some warning when application is close to the limit (it's usually much easier to cope with "low memory" problem rather then "no memory" problem), but that's separate issue.
(
Log in to post comments)