hang-the-9 :
I would test the RAM first before spending money on it, try a different stick or try a different video card in the system. If it crashes during games it's more likely the video card or power supply than the RAM. The GT640 is a pretty weak video card anyway, if you buy new RAM and that is not the issue you still have a weak video card. Find some spare RAM to test things with and maybe a spare video card.
i have no extra ram or video card, maybe if i use my integrated gpu i could see if that's it
It can also be my psu which i had problems before, that's why im getting a new one
And do you think memtest (or whatever is its name)could tell me if ram is the problem