Hi team,
I just installed OCaml under a VM and have a suggestion for improving the docs here: Get Up and Running With OCaml · OCaml Tutorials and here: opam - FAQ
Using Ubuntu under a VM I found that I could not get started with OCaml with 1GB of main memory. I recommend a small note for new starters to ensure that they set themselves up for success with >1GB of memory. I opted for 3GB which worked fine.
What happened?
With 1GB main memory in a VM, Ubuntu runs well and installation of OCaml proceeds nicely until
`opam install dune utop ocaml-lsp-server`
when I found that the terminal window closes without any notice or error message. Increasing VM memory fixed the problem.
Without an intuition of OCaml’s memory requirements, this took some time to diagnose. The failure mode was silent, all that happened is that the Terminal window closed without warning.
All the best,
David