The problem is that there is not enough RAM in your system to handle the cortex with 319,663 vertices.
Try using a cortical surface with less vertices.