]> git.eshelyaron.com Git - emacs.git/commit
Rewrite memory-limit in Lisp
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 16 Jun 2018 15:11:37 +0000 (08:11 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 16 Jun 2018 15:33:36 +0000 (08:33 -0700)
commitec1b4d9a51db61b77c3953f3de4339f34e512c42
tree2cddf82b4305deb006bd12423b6664d2e1d38dc5
parent9af399fd803ac1ca79f319945b9745b5b96122e7
Rewrite memory-limit in Lisp

Have it return Emacs virtual memory size, not the sbrk value
which is often useless newadays.
* doc/lispref/internals.texi (Garbage Collection):
* etc/NEWS: Document this.
* lisp/subr.el (memory-limit): New implementation in Lisp,
written in terms of process-attributes, and which returns
virtual memory size.
* src/alloc.c (Fmemory_limit): Remove C implementation.
doc/lispref/internals.texi
etc/NEWS
lisp/subr.el
src/alloc.c