adding maxmemory value and policy