From: "Daniel Bünzli" <daniel.buenzli@erratique.ch>
To: Florent Monnier <monnier.florent@gmail.com>
Cc: Caml List <caml-list@inria.fr>
Subject: Re: [Caml-list] [rpi] opam switch to get ocamlopt on RPi with raspbian
Date: Wed, 22 May 2013 18:49:34 +0100 [thread overview]
Message-ID: <0BC78A3A17C24F42803ED3CA16F7E4FD@erratique.ch> (raw)
In-Reply-To: <CAE1DttCwLMufH70LNrW4gsRSgro0frOm+Ln2iiuXRToAgLDo1A@mail.gmail.com>
Le mercredi, 22 mai 2013 à 18:30, Florent Monnier a écrit :
> In /boot/config I put:
> gpu_mem_512=192
> My swap is twice the RAM (512 * 2) which is what was adviced to my by
> the other RPi users in my LUG.
>
> Should I reduce the GPU memory?
> Or remove the swap?
Again, follow the instructions here, it will work perfectly:
https://github.com/OCamlPro/opam/issues/493#issuecomment-13950204
No need to touch the GPU memory. Set the swap size to something like 2G to compile ocaml and then set it back to the value it was initially (I'm sorry I don't have a system under hand to clearly state what variable but I think the variable to edit should something like CONF_SWAPSIZE=2048).
Check the status with something like:
swapon -s
free -h
Best,
Daniel
next prev parent reply other threads:[~2013-05-22 17:49 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-22 14:39 Florent Monnier
2013-05-22 14:49 ` Alain Frisch
2013-05-22 14:57 ` Daniel Bünzli
2013-05-22 16:18 ` Marek Kubica
2013-05-22 16:48 ` Daniel Bünzli
2013-05-22 17:30 ` Florent Monnier
2013-05-22 17:49 ` Daniel Bünzli [this message]
2013-05-22 17:15 ` Florent Monnier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=0BC78A3A17C24F42803ED3CA16F7E4FD@erratique.ch \
--to=daniel.buenzli@erratique.ch \
--cc=caml-list@inria.fr \
--cc=monnier.florent@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox