Use dt_conf_get_int64 to read cache_memory