diff options
| author | Paul Eggert | 2018-06-16 08:11:37 -0700 |
|---|---|---|
| committer | Paul Eggert | 2018-06-16 08:33:36 -0700 |
| commit | ec1b4d9a51db61b77c3953f3de4339f34e512c42 (patch) | |
| tree | 2cddf82b4305deb006bd12423b6664d2e1d38dc5 /etc | |
| parent | 9af399fd803ac1ca79f319945b9745b5b96122e7 (diff) | |
| download | emacs-ec1b4d9a51db61b77c3953f3de4339f34e512c42.tar.gz emacs-ec1b4d9a51db61b77c3953f3de4339f34e512c42.zip | |
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.
Diffstat (limited to 'etc')
| -rw-r--r-- | etc/NEWS | 3 |
1 files changed, 3 insertions, 0 deletions
| @@ -665,6 +665,9 @@ instead of just Microsoft platforms. This fixes a 'get-free-disk-space' | |||
| 665 | bug on OS X 10.8 and later (Bug#28639). | 665 | bug on OS X 10.8 and later (Bug#28639). |
| 666 | 666 | ||
| 667 | +++ | 667 | +++ |
| 668 | ** 'memory-limit' now returns a better estimate of memory consumption. | ||
| 669 | |||
| 670 | +++ | ||
| 668 | ** New macro 'combine-change-calls' arranges to call the change hooks | 671 | ** New macro 'combine-change-calls' arranges to call the change hooks |
| 669 | ('before-change-functions' and 'after-change-functions') just once | 672 | ('before-change-functions' and 'after-change-functions') just once |
| 670 | each around a sequence of lisp forms, given a region. This is | 673 | each around a sequence of lisp forms, given a region. This is |