A RAM disc can be used to integrate part of the main memory as a very fast drive in Windows. The article shows the background ...
If your hard drive is getting errors, you can scan for bad sectors and try to fix them with the Check Disk Utility.