Process Governor allows you to limit CPU and memory usage for running or new processes from the command line.
You can use this app to set constraints on a process this will be of use in cases when noticeable usage spikes occur where you are running an up-to-date OS on an older machine for instance.
Process Governor permits you to set limits on a newly created process or one already running. To attach to a process, use the -p|--pid switch, i.e., procgov --maxmem 40M --pid 1234. To start a new process with the limits applied, just pass the process image path and its arguments as procgov arguments, eg. procgov --maxmem 40M c:\temp\test.exe arg1 arg2".
Process Governor will help control running/new processes CPU/memory usage; extensive details can be found at the author's site for usage.