Well, you could always try taking the memory out, blowing on it/the memory slots, and putting it back in.
Since I don't have HL2 I can't suggest anything other than that, though that's fixed a problem I had with my memory before. Though since it's working fine for other things it probably wouldn't help.