memory-limit
memory-limit is a built-in function in `C source code
'.
(memory-limit)
Return the address of the last byte Emacs has allocated, divided by 1024.
This may be helpful in debugging Emacs's memory usage.
We divide the value by 1024 to make sure it fits in a Lisp integer.