Hello, This is about https://github.com/memcached/memcached/pull/1088
One page is freed by slabs.c:memory_release when cache_memlimit command adjust memory limitation. But sometimes glibc do not return the freed memory to operating system, which make users confusing with memcached's memory Resident Size. The following example shows that about 25GB memory is not return to OS. [image: image] <https://user-images.githubusercontent.com/4401756/276850868-6d581676-a4c0-42e4-b38c-23bdcdb54daf.png> malloc_trim <https://man7.org/linux/man-pages/man3/malloc_trim.3.html> can release memory back to the system. -- --- You received this message because you are subscribed to the Google Groups "memcached" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/memcached/67bd1b83-480f-49e5-9d0b-c2ac6546dd9cn%40googlegroups.com.
