I have recently faced this kind of error, and checked the RAM-processor number and HDD space, but it was still going on. However, i again checked the commands and found the source, and it was the location of the .chk file to be saved, the directory i specified previously didn't exist, so i changed it to another one. So, upto me, it can also be the cause of the error.