Documentation

Overview

    Package oom contains a single function to trigger Linux kernel OOMs.

    Index

    Constants

    This section is empty.

    Variables

    This section is empty.

    Functions

    func Do

    func Do(size int)

      Do attempts to OOM the process by allocating up to the provided number of bytes. Do never returns.

      func Try

      func Try()

        Try attempts to OOM based on the available physical memory and default overcommit heuristics. Try never returns.

        Types

        This section is empty.

        Source Files