Games are 32 bit programs [with a very few exceptions] . They cannot ever use more than about 3.3 gig of RAM . Anyone can check a games RAM usage by running the game in a window and opening Task Manager to show exactly how much iust being used .
On tp of that Windows needs about 800 mb .
So long as you are just running the game then no more than 4 gig is required