GNU bug report logs -
#45200
Wishlist: There should be a `malloc-trim' function
Previous Next
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
On Wed, 2021-02-03 at 16:51 +0200, Eli Zaretskii wrote:
> > From: Konstantin Kharlamov <hi-angel <at> yandex.ru>
> > Date: Wed, 03 Feb 2021 12:49:47 +0300
> > Cc: carlos <at> redhat.com, fweimer <at> redhat.com, 45200 <at> debbugs.gnu.org,
> > dj <at> redhat.com
> >
> > Second, if Emacs indeed sees it's gonna allocate memory again right away,
> > then it shouldn't have even freed the memory in the first place.
>
> You are not serious here, are you? How could Emacs possibly know, at
> the level that does GC, whether the Lisp program that currently runs
> will need more memory in the future? The program itself may know that
> (and then it may not, if memory is allocated by some low-level
> primitive), but GC itself? If you think it can have powers for such
> prophecy, we should probably use that to write a program to advise us
> which shares to buy, and get rich -- fast.
Yeah, you're right, never mind this text, I think I kinda misinterpreted two sentences I was answering to.
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.