Depends what you are doing with Xcode and if you're running any other apps at the same time. In my experience, it is not necessarily overkill. Machines I use with 8 gigs of RAM for development can start paging pretty quickly if I'm not gentle with them.