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. |
0 replies
|
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 |
0 replies
|
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? |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
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 --releaseTyred also in a Windows VM
the same issue TB instead of GB
Build with:
cargo build --release --target x86_64-pc-windows-gnuAll reactions