I am quite curious as to why your system is occasionally locking up. I cannot even dimly recall when the last time Sonar locked up or crashed on me, and if there were some easily stumbled into recipe for that happening, I would think we would see a whole bunch of other similar reports.
That makes me think that whatever IS sometimes locking up your Sonar, is something local to your situation.
The things that come to mind for that would include:
1) Possible failing when using a 3rd party 32-bit plugin in a 64-bit Sonar environment. To use a 32-bit plugin in a 64-bit Sonar, the plugin must be used with bridging software - Sonar includes a free piece of software called BitBridge to provide that functionality, HOWEVER, not all 32-bit plugins are stable when running bridged with BitBridge. There is a commercially available program called JBridge, that also provides bridging for 32-bit plugins, and for SOME 32-bit plugins that fail under BitBridge, they end up being able to work using JBridge, HOWEVER, some 32-bit plugins STILL fail no matter which bridging software is used. Many, if not most, folks have made a deliberate decision to completely move away from using 32-bit plugins in 64-bit Sonar. Most of the decent plugins also come in a 64-bit flavor - as a free download if one already has the 32-bit version. I do still use a small number of 32-bit plugins, but I have those split off into their own folder with only that 32-bit folder added to the 64-bit Sonar plugin search path. Those plugins were thoroughly tested by me, to make sure they were working, before I added them to be able to be used in my 64-bit Sonar projects.
2) Possible failure with some 3rd-party 64-bit plugin. There HAVE been some 64-bit plugins that don't always play nice in Sonar. Try to see if any plugin shows up in any Windows Event Viewer messages at the time of failure, and see if you can spot any consistent presence of any particular plugins across multiple failing projects.
3) Make sure Windows and your plugins are all at current maintenance levels.
There are undoubtedly additional things others can think of suggesting you look at, but I DO think with some digging, and possible assistance from forum folks, that you might be able to get your environment stabilized.
Bob Bone