Allocate task memory within core memory.