RAM limitation while imputing missing values

My laptop has 4GB RAM. I am trying to impute missing values of temperature in the training data set using the mice package. I came across this error while imputing:

Error: cannot allocate vector of size 12.2 Gb

  1. How can I resolve this issue?
  2. Any online computing environment where I can perform the imputation operation?

Any feedback appreciated.

Regards,
Saurabh Jain

If you have RAM problems you should process each sample separately instead of processing the whole dataset at one time.

https://duckduckgo.com/?q=swap+memory