Fixed memory allocation of job scripts.