search for: d2ff0435a352424d2c7329d918293946

Displaying 1 result from an estimated 1 matches for "d2ff0435a352424d2c7329d918293946".

2017 Jun 17
0
Issue with memory deallocation/fragmentation on systems which use glibc
...my head because there were no such problem on my laptop running on OS X!). So I'm not sure that such problem can be ignored. Consider following examples - we will create large list with many small objects (code which contains fully reproducible example here - https://gist.github.com/dselivanov/d2ff0435a352424d2c7329d918293946): large_list = lapply(1:1e6, function(i) { runif(100) }) rm(large_list) gc() After that on OS X *resident memory* memory successfully shrinks to ~ 100mb, but on Ubuntu is remains at ~ 1gb. I understand that this 1gb of ram can be (and will be) reused for allocations of new small objects. So if...