Overcommit is not actually relevant.  An overcommit OOM-kill is a manifestation of the administrator killing the process for being a memory hog (it&#x27;s just that the administrator has delegated this decision to some less-than-scrutable kernel code).<p>Library code should in general punt out-of-memory conditions back to the caller.