Skip to content

Commit

Permalink
follow-up to ocaml#10188: fix documentation for the default overhead
Browse files Browse the repository at this point in the history
  • Loading branch information
damiendoligez authored and garrigue committed Mar 3, 2021
1 parent 94db93b commit 9cf20af
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions stdlib/gc.mli
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ type control =
percentage of the memory used for live data.
The GC will work more (use more CPU time and collect
blocks more eagerly) if [space_overhead] is smaller.
Default: 100. *)
Default: 120. *)

mutable verbose : int;
[@ocaml.deprecated_mutable "Use {(Gc.get()) with Gc.verbose = ...}"]
Expand Down Expand Up @@ -173,7 +173,7 @@ type control =
Note: If you change to next-fit, you may need to reduce
the [space_overhead] setting, for example using [80] instead
of the default [100] which is tuned for best-fit. Otherwise,
of the default [120] which is tuned for best-fit. Otherwise,
your program will need more memory.
Note: changing the allocation policy at run-time forces
Expand Down

0 comments on commit 9cf20af

Please sign in to comment.