aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/util.ml
diff options
context:
space:
mode:
Diffstat (limited to 'lib/util.ml')
-rw-r--r--lib/util.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/util.ml b/lib/util.ml
index 94e812ff6..eb096c3cf 100644
--- a/lib/util.ml
+++ b/lib/util.ml
@@ -1369,7 +1369,7 @@ let heap_size () =
let stat = Gc.stat ()
and control = Gc.get () in
let max_words_total = stat.Gc.heap_words + control.Gc.minor_heap_size in
- (max_words_total * Sys.word_size / 8)
+ (max_words_total * (Sys.word_size / 8))
let heap_size_kb () = (heap_size () + 1023) / 1024