An easy way to see what Sonar is taxing on your computer is the Performance Module. Right click the Control Bar (the bar at the top where the Transport and other modules are) and select Performance Module until it appears. This will likely replace one of the other modules so if you don't want to lose a necessary module while using the Perf Module do the Right Click/Select action on the module you need the least and that one should be the one replaced.
The Perf Module has four indicators. One for CPU, one for RAM, one for available disk space and one for the read/write capacity for the hard drive.
The CPU will have multiple lines representing your computer cores. If any of these hit max you are overtaxing the CPU and need to adjust you buffers or use some resource saving methods to get it into an acceptable range.
The RAM is just a plain bar meter. If it starts maxing out you are overloading the RAM. Freeze or bounce some synths or change your buffers.
The disk space stuff just shows how much space you have left. If it gets too full your computer in general will just start screwing up so you need to remove some data or buy another/bigger hard drive.
Then there is the HDD icon for read/write. This will change colors if you are moving to much data from the disk or vice versa too fast. Red is bad and will likely cause an engine stop/dropout. If this happens you go into Preferences and increase the Read/Write cache settings. This will give your hard drives a bit more time to catch up to Sonar. Only increase this as much as necessary. Make sure your hard drives are running at 7200RPM or more as that is the optimal HDD speed for audio. SSD drive are way faster.
Things you can do to minimize resource consumption.
Raise your buffers while mixing/editing. Latency does not matter when you do these things and they are generally more resource intensive. Only lower them to just above the point of problems (keep an eye on the perf module). Sometimes you just gotta deal with a little latency.
Freeze tracks/synths. This will temporarily bounce effects and synths to audio to take the load of the system. When you are done recording click the Freeze button again and they will return to their original state.
Bounce tracks. This is permanent but will free up resources like freeze does. Only do this if the track is complete and you no longer need to make any parameter changes.
Archive unnecessary tracks. This will take the tracks completely out of the mix. Use for anything you do not need to hear anymore like bed tracks. You can use this in conjunction with the following...
Create a stereo backing track of the project to record to and archive all other tracks while recording. Just bounce/mixdown all the tracks to a new track and archive the rest. Now your system is only processing that one track and whatever you are working on reducing resource consumption.
Lots of other stuff you can do but with all that you should be able to keep working.
There are system tweaks that can be done as well but maybe you've already done that so let us know.