Back to godoc.org
Package oom contains a single function to trigger Linux kernel OOMs.
Package Files ¶
func Do(size int)
Do attempts to OOM the process by allocating up to the provided number of bytes. Do never returns.
Documentation was rendered with GOOS=linux and GOARCH=amd64.