1

In R studio

memory.size(max=F) #I thought this means much much memory I've used

[1] 109.92

memory.size(max=T) #how much I have in total

[1] 2251.31

binnedtemp <- binning_median(IVMtemp,TimeStep,starttime)

Error: cannot allocate vector of size 949.2 Mb

I don't understand... I also tried memory.limit(24000), and the error message still came up.

Phil
  • 7,287
  • 3
  • 36
  • 66
Yilin Cui
  • 11
  • 1

1 Answers1

0

Please have a look here. You cannot allocate the whole memory to one vector, there are other limits to be considered.

Jakub.Novotny
  • 2,912
  • 2
  • 6
  • 21