Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions data/tutorials/language/5rt_01_garbage-collector.md
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,13 @@ profile). This setting can be overridden via the `s=<words>` argument to
`OCAMLRUNPARAM`. You can change it after the program has started by calling
the `Gc.set` function:

> **Note**
>
> The examples below use Jane Street's Core library, which provides
> convenience functions such as `Gc.tune`. If you are using only the
> OCaml standard library, similar functionality can be achieved using
> `Gc.get` and `Gc.set`.

```ocaml env=tune
# open Core;;
# let c = Gc.get ();;
Expand Down