Is it possible that processes spawned by RServe share some common libraries loaded once into memory? Imagine that I need to execute bellow code on 100 different RConnections concurrently.
library(libraryOfSize40MB)
fun()
It means that I need about 3.9GB of memory just to load library. I would prefer to load library once and then execute fun()
one hundred times, so that I can run this on cheap host.
Maybe this is helpful? https://github.com/s-u/Rserve/blob/master/NEWS#L40-L48