Only set maxmemory when set, default to not