I assumed it was creating a dump file or something but the processor spikes well before I get the process terminated error

The dump file is taken before the process is torn down. Otherwise all of the memory and thread contexts and so on that you probably want to put in the dump file will have gone before you've started creating the crashdump.