Update sysinfo version to 0.26.7

This commit is contained in:
Guillaume Gomez
2022-11-04 21:06:33 +01:00
committed by andy.boot
parent b478534b22
commit 72b811c278
3 changed files with 6 additions and 14 deletions
+1 -1
View File
@@ -210,7 +210,7 @@ fn init_rayon() -> Result<(), ThreadPoolBuildError> {
let large_stack = usize::pow(1024, 3);
// Warning: Creating System is slow, takes ~ 100ms
let s = System::new();
let available = s.get_available_memory() * 1024;
let available = s.available_memory();
if available > large_stack.try_into().unwrap() {
// Larger stack size to handle cases with lots of nested directories