Fix to the added memory managing in MRTask, replaced invoke with compute2 to avoid thread starvation.