Run a Windows VM with Visual Studio. That will need at least 1.5 Gigs. Then run some heavy stuff on OSX too and it will become slow. If you have an SSD, it won't become unbearably slow, but clearly straining.
Which is to say, 4 Gigs are fine for a VM every now and then, but not for everyday use. At least not for me.