My server is 2 GB, and for self hosted stuff it's good enough. Granted, I use Gentoo, but I wouldn't expect debian would be much higher unless you're running something.
I run postgres and a file server on mine. I've previously ran NextCloud. It was a liiittle slow, but I think I was CPU bound (raspberry pi).