4GB will be sufficient. More RAM will only become a necessity if you do heavy multitasking. What you describe does not fall in that category. Game code doesn't need as much system RAM as you would imagine. And the heavy graphical work is done by the video card and stored in its fast on-board memory.