I have a good point to make so don’t dismiss me as usual like you guys always do.
Had the same problem, PC would freeze up whilst playing BF2, seemed to be a ram issue.
Installed this little program called “Cacheman”, which as the name suggests, caches your ram at certain points and improves performance greatly.
Google cacheman and you’ll find a download link.
Here’s one: http://www.download.com/3000-2094-10018600.html