RAM is memory, like your hard drive, except it's for storing the variables of the current game.
If a game can't get enough RAM to run, it either won't run, or will run from a pagefile, which may impact preformance.
If the game can get enough RAM, then there's nothing else you can do for it. Try updating your Graphics Processing Unit.