Tasks sharing a memory pool