Skip to content

Commit

Permalink
fix available_memory
Browse files Browse the repository at this point in the history
  • Loading branch information
yito88 committed Aug 9, 2023
1 parent 7fdf079 commit 55e1fc8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/src/lib/node/ledger/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ async fn run_aux_setup(
// Find the system available memory
let available_memory_bytes = Lazy::new(|| {
let sys = System::new_with_specifics(RefreshKind::new().with_memory());
let available_memory_bytes = sys.available_memory() * 1024;
let available_memory_bytes = sys.available_memory();
tracing::info!(
"Available memory: {}",
Byte::from_bytes(available_memory_bytes as u128)
Expand Down

0 comments on commit 55e1fc8

Please sign in to comment.