It's so hard to know what to recommend when no one else has reported a similar problem, because that implies a system- or project-specific issue, and there's virtually no information about the system. For example maybe you have your operating system, SONAR, and all your projects on a C: drive that's close to full. It's always good practice to have a separate data drive.
Try "Save As" to a USB stick of sufficient capacity, and see what happens.
Also, "SONAR never forgets." A project size will balloon as you do more operations and SONAR saves more files so you can undo. If you "Save As" to a new folder and save all audio, then you can delete the older (and much larger) project. For example, I'll often have a project grow to 3-4 GB just prior to mixing. After saving as, it will be more like 200-300 MB. Of course if the hard drive is close to full, a Save As may push the drive over the edge because the two projects will co-exist until you delete the older one.
It could also be a hard drive getting close to failing.
If it's not related to your hardware, a plethora of weird problems can crop up due to driver conflicts and such. Make sure all your drivers, including your graphics card drivers, are up to date. Then, check how many audio drivers are listed in Device Manager under "Sound, Video, and Game controllers." Disable all but the one you're using for your ASIO interface.
Finally, as a diagnostic next time this happens, walk away from the computer and come back 15-20 minutes later. What state is SONAR in when you return?