how to fix the Job submit error "please check that you have write permissions for the file and sufficient memory" ?