Re: [Rd] Issue with memory deallocation/fragmentation on systems which use glibc

2017-07-28 Thread Dmitriy Selivanov
I would like to submit issue to wishlist at the bug reporting system ( https://www.r-project.org/bugs.html) based on my emails. Unfortunately I don't have bugzilla account. Can someone from R-core help to obtain it? (I see that I should *"ask an R Core member to add you manually to R’s Bugzilla mem

Re: [Rd] Issue with memory deallocation/fragmentation on systems which use glibc

2017-07-09 Thread Dmitriy Selivanov
Dear R-devel mailing list and especially R-core, is there any chance to receive feedback on issue I described in previous emails? I would consider such behaviour as a bug. As a work-around I've created small "clean-up" function: malloc_trim_finalizer = function(e) { res = NULL if(R.version$os

Re: [Rd] Issue with memory deallocation/fragmentation on systems which use glibc

2017-06-22 Thread Dmitriy Selivanov
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 environmen