How old is this HD?
Try testing it in another Amiga if you have one around. Otherwise I'd buy a new HD if I were you.
If you suspect that RAM may be the cause, get a ram tester program on a floppy and leave it testing overnight. If it freezes, there could be something else interfering or loose. Otherwise you know what to do if a bad chip is shown.