Variable: out-of-memory-warning-percentage

out-of-memory-warning-percentage is a customizable variable defined in files.el.gz.

Value

nil

Documentation

Warn if file size exceeds this percentage of available free memory.

When nil, never issue warning. Beware: This probably doesn't do what you think it does, because "free" is pretty hard to define in practice.

This variable was added, or its default value changed, in Emacs 25.1.

Source Code

;; Defined in /usr/src/emacs/lisp/files.el.gz
(defcustom out-of-memory-warning-percentage nil
  "Warn if file size exceeds this percentage of available free memory.
When nil, never issue warning.  Beware: This probably doesn't do what you
think it does, because \"free\" is pretty hard to define in practice."
  :group 'files
  :group 'find-file
  :version "25.1"
  :type '(choice integer (const :tag "Never issue warning" nil)))