The behavior you describe would be typical if a RAM module was failing. You may want to download Remember or run Apple Hardware Test and do a RAM test. I would remove one chip at a time for testing, to more easily narrow down which chip is bad.