If R is no longer using some memory and has not released it, if I do a system() call to run another process, it gives Cannot allocate memory error. Why does R automatically not release memory here?
Even multiple gc() calls do not help many times instantaneously...