I am trying to read 4Gb .txt file using "fread" function:
mydata<-fread("myfile.txt")
But after reading I get the following error:
Error: cannot allocate vector of size 193.8 Mb
In addition: Warning messages:
1: In lapply(globals, function(name) { :
Reached total allocation of 4095Mb: see help(memory.size)
2: In lapply(globals, function(name) { :
Reached total allocation of 4095Mb: see help(memory.size)
Could anyone explain me what does it mean and would should I do to avoid this error, please?
Thank you!