From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@sympa.inria.fr Delivered-To: caml-list@sympa.inria.fr Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by sympa.inria.fr (Postfix) with ESMTPS id 11B347EE51 for ; Wed, 22 May 2013 19:49:39 +0200 (CEST) Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of daniel.buenzli@erratique.ch) identity=pra; client-ip=74.55.86.74; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="daniel.buenzli@erratique.ch"; x-sender="daniel.buenzli@erratique.ch"; x-conformance=sidf_compatible Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of daniel.buenzli@erratique.ch) identity=mailfrom; client-ip=74.55.86.74; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="daniel.buenzli@erratique.ch"; x-sender="daniel.buenzli@erratique.ch"; x-conformance=sidf_compatible Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of postmaster@smtp.webfaction.com) identity=helo; client-ip=74.55.86.74; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="daniel.buenzli@erratique.ch"; x-sender="postmaster@smtp.webfaction.com"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AtcBALAEnVFKN1ZKlWdsb2JhbABagzgBgzq+M4EdDgEBAQEHDQkJEiqCIwEBBAEjVgULCxoCJgICRxAGG4d/BgQIqQKRbwSBJo1EMweCQTJhA51DE44y X-IPAS-Result: AtcBALAEnVFKN1ZKlWdsb2JhbABagzgBgzq+M4EdDgEBAQEHDQkJEiqCIwEBBAEjVgULCxoCJgICRxAGG4d/BgQIqQKRbwSBJo1EMweCQTJhA51DE44y X-IronPort-AV: E=Sophos;i="4.87,722,1363129200"; d="scan'208";a="15329929" Received: from mail6.webfaction.com (HELO smtp.webfaction.com) ([74.55.86.74]) by mail3-smtp-sop.national.inria.fr with ESMTP; 22 May 2013 19:49:38 +0200 Received: from [172.20.10.2] (92.40.254.93.threembb.co.uk [92.40.254.93]) by smtp.webfaction.com (Postfix) with ESMTP id 0B64F210CA76; Wed, 22 May 2013 17:49:35 +0000 (UTC) Date: Wed, 22 May 2013 18:49:34 +0100 From: =?utf-8?Q?Daniel_B=C3=BCnzli?= To: Florent Monnier Cc: Caml List Message-ID: <0BC78A3A17C24F42803ED3CA16F7E4FD@erratique.ch> In-Reply-To: References: <519CDB05.3010504@frisch.fr> <20130522181802.7c42f9ef@xivilization.net> <43EBB6DDD855462F832285784167B846@erratique.ch> X-Mailer: sparrow 1.6.4 (build 1178) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Subject: Re: [Caml-list] [rpi] opam switch to get ocamlopt on RPi with raspbian Le mercredi, 22 mai 2013 =C3=A0 18:30, Florent Monnier a =C3=A9crit : > In /boot/config I put: > gpu_mem_512=3D192 > My swap is twice the RAM (512 * 2) which is what was adviced to my by > the other RPi users in my LUG. >=20=20 > 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 thin= k the variable to edit should something like CONF_SWAPSIZE=3D2048).=20=20 Check the status with something like:=20=20 swapon -s=20=20 free -h=20=20 =20=20 Best, Daniel