Updated MRTask's memory management (controlling paralellization of the computation to avoid extensive swapping/running out of memory).