Replies: 3 comments
-
It looks like it's using sysinfo's total_memory, which returns bytes, but iced assumes it's kilobytes. You can probably write a pull request to fix it. |
Beta Was this translation helpful? Give feedback.
-
thanks - found the line to fix the totalmemory
but the value for used memory is wrong the value is to low 100 insted of 4000 ? the factor is not correct 100 instead of 1000 |
Beta Was this translation helpful? Give feedback.
-
No I think memory_used suffers from the same problem as memory_total, but it refers to the memory used by the Iced app alone, not all memory being used. That's maybe why you think it's too low? |
Beta Was this translation helpful? Give feedback.
-
Hello,
I build the binary of the example system_information
https://github.com/iced-rs/iced/tree/master/examples/system_information
But it show TB instead of GB
My system has 16 GB RAM but the binary show TB
Using: rust 1.70 and Debian 12 (x86_64)
Build with:
cargo build --release
Tyred also in a Windows VM
the same issue TB instead of GB
Build with:
cargo build --release --target x86_64-pc-windows-gnu
Beta Was this translation helpful? Give feedback.
All reactions