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


View this message in rfc822 format

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, monnier <at> iro.umontreal.ca, Konstantin Kharlamov <Hi-Angel <at> yandex.ru>, 45200 <at> debbugs.gnu.org
Subject: bug#45200: Memory leaks: (garbage-collect) fails to reclaim memory
Date: Sun, 05 Dec 2021 00:20:11 +0100
Eli Zaretskii <eliz <at> gnu.org> writes:

> Thanks, but is it really a good idea to call malloc_trim each time we
> free some chunk of memory?

Skimming this very long thread, I think the conclusion was that we
shouldn't do anything in Emacs on this point.  Does that sound correct?

-- 
(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.