GNU bug report logs - #45200
Wishlist: There should be a `malloc-trim' function

Previous Next

Package: emacs;

Reported by: Konstantin Kharlamov <hi-angel <at> yandex.ru>

Date: Sat, 12 Dec 2020 18:44:02 UTC

Severity: wishlist

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #283 received at 45200 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: fweimer <at> redhat.com, dj <at> redhat.com, carlos <at> redhat.com,
 Stefan Monnier <monnier <at> iro.umontreal.ca>, Hi-Angel <at> yandex.ru,
 45200 <at> debbugs.gnu.org
Subject: Re: bug#45200: Wishlist: There should be a `malloc-trim' function
Date: Sun, 01 May 2022 11:43:40 +0200
Eli Zaretskii <eliz <at> gnu.org> writes:

>> For me the conclusion was that I'd be happy to see someone add a
>> `malloc-trim` primitive to ELisp, so that users can experiment with it,
>> e.g. by adding it to `post-gc-hook`.
>
> That might be a good feature regardless, IMO.

I've now added malloc-trim to Emacs 29.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 3 years and 78 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.