When the message appears, it means that the computer is not powerful enough to handle the scanning application and the OS at the same time. This could easily get fixed by upgrading your RAM or your CPU. It might be expensive, but the investment will worth every penny.
Alternatively, press CTRL+SHIFT+ESC to bring Task Manager and close all the unneeded applications to free system resources.