gc() and rm(list=ls()) and restarting doesn't clear memory
问题 I was doing data wrangling with Rstudio, and while I was doing something with a very large dataset, the process died. I restarted the computer, but ever since Rstudio has not been responsive or slow due to memory limits (currently, it's occupying 8gb of my 16gb RAM). I tried doing all the standard things I found on Stackoverflow. gc() and gc(reset=T) rm(list = ls()) .rs.restartR() Restart my computer. But when I open Rstudio, the memory usage would quickly climb and make the entire thing