How to release memory ram in R?
I've a complex model that performs an Actuarial Projection using parallel and Rcpp. I'm facing problems in Rstudio in a Linux enviroment because I can't release memory ram after each calculation. I'd tried remove those objetcs using rm() and after applying gc(full = TRUE, reset = TRUE).
For some objetcs it actualy works but when I checked the performance metrics trought the model it's clearly not.
Any suggestion? How can I handle these problems?
Thanks a lot!