Error: vector memory exhausted (limit reached?)

I`m manipulating some big data in Rstudio, I find a lot of tips on the internet but I preferred to ask here, I was using a function in my time series dataset (fill_gaps) and I got the message:
Error: vector memory exhausted (limit reached?)

What is the best approach to fix it ?

Lucas