It wasn't out of memory, but having the Focus Period on the Webserver summary screen set to "ALL" caused it to take forever to recalculate. Setting it to one hour seems to have gotten it under control.

Maybe you could notice that you are using all of the CPU (or that the CPU was still busy doing background calculations when you went to do another sample), and warn the user or back off a bit?