getMaxMemory

Returns the amount of memory allocated to this task.