allocate memory from pool + persistence