I'm reading a large table from postgres into a dataframe using DBI and dplyr. The dataframe is about 12GB on a system that has 32GB. I wrote the dataframe to disk using
write_rds(something,file="something.rds")
The size on disk is roughly equal to 12GB indicating no compression.
I restarted the R session to clear memory and then try to read the file first with
read_rds(file="something.rds")
The RStudio GUI shows reading up to about 5GB and then the command returns with no error but there is also no dataframe available in the environment.