diff --git a/frontend/src/pages/index.vue b/frontend/src/pages/index.vue
index e1f7f27..ad6958f 100644
--- a/frontend/src/pages/index.vue
+++ b/frontend/src/pages/index.vue
@@ -56,7 +56,7 @@
Total Logical Cores: {{status.by_arch && status.by_arch[arch].total_logical_cores}}
- Total Memory: {{status.by_arch && prettyBytes(Number(status.by_arch[arch].total_memory_bytes))}}
+ Total Memory: {{status.by_arch && prettyBytes(Number(status.by_arch[arch].total_memory_bytes), { binary: true })}}
Total Jobs: {{status.by_arch && status.by_arch[arch].total_job_count}}
diff --git a/frontend/src/pages/workers/[id].vue b/frontend/src/pages/workers/[id].vue
index bd5861b..85e3b7e 100644
--- a/frontend/src/pages/workers/[id].vue
+++ b/frontend/src/pages/workers/[id].vue
@@ -10,7 +10,7 @@
Git commit: {{ worker.git_commit }}
- Memory size: {{ worker.memory_bytes !== undefined && prettyBytes(worker.memory_bytes) }}
+ Memory size: {{ worker.memory_bytes !== undefined && prettyBytes(worker.memory_bytes, { binary: true }) }}
Disk free space size: {{ worker.disk_free_space_bytes !== undefined && prettyBytes(worker.disk_free_space_bytes) }}
diff --git a/frontend/src/pages/workers/index.vue b/frontend/src/pages/workers/index.vue
index 66a1a53..8c726c4 100644
--- a/frontend/src/pages/workers/index.vue
+++ b/frontend/src/pages/workers/index.vue
@@ -80,8 +80,8 @@
{ title: 'Hostname', key: 'hostname', sortable: false },
{ title: 'Architecture', key: 'arch', sortable: false },
{ title: 'Logical Cores', key: 'logical_cores', sortable: false },
- { title: 'Memory Size', key: 'memory_bytes', sortable: false, value: (item: any) => prettyBytes(item.memory_bytes) },
- { title: 'Memory Per Core', key: 'memory_per_core', sortable: false, value: (item: any) => prettyBytes(item.memory_bytes / item.logical_cores) },
+ { title: 'Memory Size', key: 'memory_bytes', sortable: false, value: (item: any) => prettyBytes(item.memory_bytes, { binary: true }) },
+ { title: 'Memory Per Core', key: 'memory_per_core', sortable: false, value: (item: any) => prettyBytes(item.memory_bytes / item.logical_cores, { binary: true }) },
{ title: 'Disk Free Space Size', key: 'disk_free_space_bytes', sortable: false, value: (item: any) => prettyBytes(item.disk_free_space_bytes) },
{ title: 'Status', key: 'status', sortable: false },
],