From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by yquem.inria.fr (Postfix) with ESMTP id 94EE4BC29 for ; Wed, 9 Aug 2006 15:41:46 +0200 (CEST) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by nez-perce.inria.fr (8.13.6/8.13.6) with ESMTP id k79DfknY008126 for ; Wed, 9 Aug 2006 15:41:46 +0200 Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id PAA09505 for ; Wed, 9 Aug 2006 15:41:45 +0200 (MET DST) Received: from deliverator6.gatech.edu (deliverator6.gatech.edu [130.207.165.168]) by concorde.inria.fr (8.13.6/8.13.6) with ESMTP id k79Dfivr023139 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=FAIL) for ; Wed, 9 Aug 2006 15:41:45 +0200 Received: from deliverator6.gatech.edu (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id 6CF51195A for ; Wed, 9 Aug 2006 09:41:41 -0400 (EDT) (envelope-from dbueno@gmail.com) Received: from mailprx2.gatech.edu (mailprx2.prism.gatech.edu [130.207.171.21]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (Client CN "smtp.mail.gatech.edu", Issuer "RSA Data Security, Inc." (verified OK)) by deliverator6.gatech.edu (Postfix) with ESMTP id 5AFE217E4 for ; Wed, 9 Aug 2006 09:41:41 -0400 (EDT) (envelope-from dbueno@gmail.com) Received: from [192.168.20.216] (cohesion.stl.gtri.gatech.edu [130.207.197.56]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) (sasl: method=PLAIN, username=gtg385h@mailprx2.gatech.edu, sender=n/a) by mailprx2.gatech.edu (Postfix) with ESMTP id 301252395 for ; Wed, 9 Aug 2006 09:41:41 -0400 (EDT) (envelope-from dbueno@gmail.com) Message-ID: <44D9E615.4030901@gmail.com> Date: Wed, 09 Aug 2006 09:41:41 -0400 From: Denis Bueno User-Agent: Thunderbird 1.5.0.5 (Macintosh/20060719) MIME-Version: 1.0 To: OCaml Mailing List Subject: Re: [Caml-list] ocamlc Stack_overflow References: <6dbd4d000608031803t77350a23jf388479cad9098eb@mail.gmail.com> <6dbd4d000608081900m267ea9d2mc0043962cd35d6f@mail.gmail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-j-chkmail-Score: MSGID : 44D9E618.001 on concorde : j-chkmail score : X : 0/20 1 X-Miltered: at nez-perce with ID 44D9E61A.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Miltered: at concorde with ID 44D9E618.001 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; ocamlc:01 stack:01 compiler:01 stack:01 ocamlc:01 wrote:01 caml-list:01 functions:01 jambon:01 env:03 overflow:03 size:95 size:95 opt:04 uses:06 X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.0.3 Martin Jambon wrote: > You are using a huge list, and it is likely that the compiler uses some > functions which will use stack space proportionally to the size of your > list. > You can use one of the following options: > - use ocamlc.opt instead of ocamlc > - increase the maximum size of the stack: > env OCAMLRUNPARAM=l=10M ocamlc -c spit_etest.ml To anyone who may be interested: both of these methods worked for me. -Denis