Rstudio unexpected crash on google compute engine

I am facing aa issue on google compute engine with R-studio.
It was working all fine some time back and suddenly it started throwing the error : "The previous R session was abnormally terminated due to an unexpected crash. You may have lost workspace data as a result of this crash"

Not sure what is causing this,Also even when I clear the saved workspace using -
rm(list = ls())
invisible(gc())

R restores the data sets from previous workspace.

I have R installed on a custom (8 vCPUs, 52 GB memory) unix machine.
Also I have tried running commands on a very small data set and still the session crashes.
I have also re-started the server multiple times.

Any Help will be greatly appreciated !!