A few additional details. According to Linux Programmer's Manual 1. http://man7.org/linux/man-pages/man3/mallopt.3.html 2. http://man7.org/linux/man-pages/man3/malloc_trim.3.html
And if I understood everything correctly `free` could trigger `malloc_trim` based on value of several environment variables - MALLOC_TOP_PAD_ and MALLOC_TRIM_THRESHOLD_. However setting them as low as 1 or 0 doesn't have any effect (but as I wrote in previous email manual call of `malloc_trim` helps to release memory). [[alternative HTML version deleted]] ______________________________________________ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel