07.08.19 17:04, Florian Weimer wrote:
* Roman Savochenko:
Initial condition of the problem representing is a program in the
single source code, built on-and for Debian 7, 8, 9, 10 with a result
in the Live disks.
I think glibc 2.13 as shipped by Debian was not built with
--enable-experimental-malloc, so it doesn't use arenas. This can
substantially decrease RSS usage compared to later versions. You can
get similar behavior by setting the MALLOC_ARENA_MAX environment
variable to 1 or 2.
Thanks you Florian, setting the environment MALLOC_ARENA_MAX=1 I have
got the memory effectivity some better even than in Debian 7!
Debian 10 also adds a thread cache, which further increases RSS size.
See the manual
for details how to change thread cache behavior.
Thanks, this manual I have read from the problem start but not to the
The thread cache has not now of significant influence but I will hold it
in my mind.