Mikeos has given you some good advice and this is most probably a ram issue you have. Another area you can look at is Safari, some sites use a lot of ram, so closing Safari completely before a Gaming session can be a good move too. Also a good idea is to clear out your history and cookies also, Settings - Safari.