Memory increase using glibc - 2.35
Ronny Meeus
ronny.meeus@gmail.com
Tue Feb 7 08:21:18 GMT 2023
Hello
we recently did an upstep to glibc-2.35 (from glibc-2.34) and we
observed a substantial memory increase in 1 application.
Our embedded SW is running on Linux 4.1.52 on ARM CPUs and consists of
many applications.
All apps, except 1, are consuming more or less the same amount of memory.
Note that these apps are executing a malloc_trim periodically (no clue
whether that has something to do with it).
For the problematic application (which is not executing malloc_trim),
the memory consumption increased from 250Mb to 300Mb, with the same
configuration.
We did already a "pmap" of the both apps and the observation is that
there are a lot more (and bigger in size) anon pages allocated when
running 2.35.
The complete increase of 50Mb can be traced back to the increase of these pages.
Can this be explained by one of the changes in 2.35?
We are not using any tuneables.
Thanks.
Best regards,
Ronny
More information about the Libc-help
mailing list