[memory-management] Tricks to manage the available memory in an R session