change memory pool