My specs are:
2 GB DDR2
Geforce 7600 GS 512mb
Core 2 Duo 2.00 Ghz
Windows Vista

I have installed Battlefield 2, and I play it on a server (unpatched) the game randomly crashes to the desktop. One of the times it crashed, I got an error... "memory.dll thread 5216 is deallocating main thread memory".

I was reading many different solutions, but none of them worked really, so I decided to install the new 1.41 patch, and when everything was installed, and when I ran the game, it immediately crashed to desktop on startup. The monitor just clicked and boom back to the desktop.

The thing is I had an old PC, which ran on XP, and it had the same problem. Whenever I install a patch (ie.any patch) , the same thing happens, it just crashes to desktop on startup. I have tried almost everything, but of no avail.

I have the latest Beta drivers for the graphics card. I have tried almost everything given in the tweak guide of BF2.

Can someone give me some suggestions on both the problems?