explicitly set maxmemory value