Using a reasonable OS (Linux etc), 4GB is absolutely fine for browsing and basic tasks, and indeed is often fine for development and other more-than-basic tasks as well, depending on how exactly you work (Emacs/Vim instead of an IDE, for instance).
Is 4GB considered too little under Windows these days?