It was based on the BSOD error code, this basically states that as the registry was written, due to memory problems, it may have corrupted. So I just restored a known good copy 
If you have now changed the RAM then it should be OK … Unless there is a motherboard problem but, that is less likely