use 80% available mem as a conservative estimate

This commit is contained in:
Lizonghang 2025-02-03 18:10:05 +04:00
parent 64089236eb
commit ec73e239c9

View file

@ -485,7 +485,7 @@ static uint64_t device_host_physical_memory(bool available) {
std::string key;
uint64_t kb;
iss >> key >> kb;
memory = kb * 1024;
memory = kb * 1024 * 0.8;
break;
}
}