Error: cannot allocate vector of size 5.1 Gb (32 GB RAM)

Thanks for your tips. I turn on computer again, turn off all the other applications, in R read only packages I use, use memory.limit(999999999), raster on disk = on, gc() and somehow it worked... I think that I am just lucky in this situation, but maybe someone will have similar problem.

1 Like