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 101F47EE51 for ; Wed, 22 May 2013 19:30:56 +0200 (CEST) Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of monnier.florent@gmail.com) identity=pra; client-ip=209.85.212.181; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="monnier.florent@gmail.com"; x-sender="monnier.florent@gmail.com"; x-conformance=sidf_compatible Received-SPF: Pass (mail3-smtp-sop.national.inria.fr: domain of monnier.florent@gmail.com designates 209.85.212.181 as permitted sender) identity=mailfrom; client-ip=209.85.212.181; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="monnier.florent@gmail.com"; x-sender="monnier.florent@gmail.com"; x-conformance=sidf_compatible; x-record-type="v=spf1" Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of postmaster@mail-wi0-f181.google.com) identity=helo; client-ip=209.85.212.181; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="monnier.florent@gmail.com"; x-sender="postmaster@mail-wi0-f181.google.com"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ArkBAI3/nFHRVdS1k2dsb2JhbABagzjBbn8IFg4BAQEBBwsLCRQEJIIkAQVAARseAwwGBQs7IgERAQUBHAaIDQEDD50ejD+CfYRgChknDViIEgEFDI5eOoNUA5c4gSmOMhYphDU8 X-IPAS-Result: ArkBAI3/nFHRVdS1k2dsb2JhbABagzjBbn8IFg4BAQEBBwsLCRQEJIIkAQVAARseAwwGBQs7IgERAQUBHAaIDQEDD50ejD+CfYRgChknDViIEgEFDI5eOoNUA5c4gSmOMhYphDU8 X-IronPort-AV: E=Sophos;i="4.87,722,1363129200"; d="scan'208";a="15328444" Received: from mail-wi0-f181.google.com ([209.85.212.181]) by mail3-smtp-sop.national.inria.fr with ESMTP/TLS/RC4-SHA; 22 May 2013 19:30:55 +0200 Received: by mail-wi0-f181.google.com with SMTP id hi5so1453096wib.14 for ; Wed, 22 May 2013 10:30:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=mOAdQSuFzc9jMQcVzdo5g+/rWtXZAH49yqnmSCK0mgo=; b=h0xcJXvg/gESpemHgAyvXRSLanKxD3gUYLPtxJSEioXA0jBO1ZWkauazWQioghtf1M cWYfzbxEpTmIC/DxYr0qjkAhH9vEZ2Q2lfD0EhVnx2jmSbleXOSGs+XxgIhqPn3MuAJ2 UGgzrIed17t0wE/BBKCP0hV0MZi7gq2J2T6IVyf9KFJEBZohkMxAHrNQFzBv+3CU3Go5 KP3Y3xs4Itw3hH/85Qku9Qgcczm7T0ns+eWWboqKuCb/7oaL927DF0nsySeJ8ZXfRstX B8URZZu6NQcpqixaUJE168IaBN2rXQNl11Z5HKgC/zlksYwF7k0Jpd08lU/G+T+OF1n9 7p9A== MIME-Version: 1.0 X-Received: by 10.180.109.48 with SMTP id hp16mr16698080wib.24.1369243849469; Wed, 22 May 2013 10:30:49 -0700 (PDT) Received: by 10.194.108.6 with HTTP; Wed, 22 May 2013 10:30:49 -0700 (PDT) In-Reply-To: <43EBB6DDD855462F832285784167B846@erratique.ch> References: <519CDB05.3010504@frisch.fr> <20130522181802.7c42f9ef@xivilization.net> <43EBB6DDD855462F832285784167B846@erratique.ch> Date: Wed, 22 May 2013 17:30:49 +0000 Message-ID: From: Florent Monnier To: Caml List Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Validation-by: monnier.florent@gmail.com Subject: Re: [Caml-list] [rpi] opam switch to get ocamlopt on RPi with raspbian 2013/05/22, Daniel B=FCnzli: > Le mercredi, 22 mai 2013 =E0 17:18, Marek Kubica a =E9crit : >> No need to increase swap, I built 4.00.1+rpi (the 4.00.1 with the ARM >> patch for the RPi) on a 512 MB Raspberry Pi with the default 100 MB >> swap that Raspbian creates. > > I don't know if that changed recently but a few month ago there was no sw= ap > in the raspbian distributed from raspberrypi.org (to avoid wearing the > sdcard). > > Besides if you actually read the segfault that was in Florent's initial > message, it's exactly the one that occurs when the system gets out of mem= ory > during camlp4's compilation. 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. Should I reduce the GPU memory? Or remove the swap? --