I have a moderate size .xlsx file with the dimension of 40,000 rows and 15 columns. I loaded that data into R Workspace by using xlsx::loadWorkbook function. Before loading that data, my PC RAM size is 90 MB. After loading that data, my PC RAM size is 650 MB. Below is the code which I used to load the data.
library(xlsx)
file=\\file_path\\
wb <- xlsx::loadWorkbook(file)
Then I removed wb object from the R Workspace by using rm(wb). After I removed that file from Workspace, my PC RAM size din't change. It's still remains same as 650MB. I am very sure that, I don't have any other objects in my Workspace. Why it is happening? and What should I do to free up my PC RAM size?