[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#38345: 27.0.50; Permanent increase in memory consumption after openi
From: |
Noam Postavsky |
Subject: |
bug#38345: 27.0.50; Permanent increase in memory consumption after opening images (or pdfs) |
Date: |
Sat, 07 Dec 2019 14:25:06 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) |
Eli Zaretskii <eliz@gnu.org> writes:
>> > No. AFAIK, any compilation on GNU/Linus defines DOUG_LEA_MALLOC.
>>
>> That's not the case with modern glibc, hence all that trouble with
>> ralloc, etc during Emacs 25.
>
> I was judging by what I see on fencepost.gnu.org, but I guess that
> isn't "modern" anymore.
Yeah, it seems to have glibc 2.19 (released in 2014).
> So does this mean modern glibc has no knobs to tailor its behavior to
> various needs, like set the threshold for using mmap, etc.? IOW, no
> more support for the likes of mallopt?
Looks like mallopt is still there, but Emacs' DOUG_LEA_MALLOC code
depends on malloc_set_state and malloc_get_state which were removed in
glibc 2.25 (2017).
https://sourceware.org/ml/libc-alpha/2017-02/msg00079.html