From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id RAA22468; Wed, 9 Apr 2003 17:59:47 +0200 (MET DST) Received: (from xleroy@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id RAA22554 for caml-list@pauillac.inria.fr; Wed, 9 Apr 2003 17:59:46 +0200 (MET DST) 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 IAA05669 for ; Wed, 9 Apr 2003 08:45:15 +0200 (MET DST) Received: from nef.ens.fr (nef.ens.fr [129.199.96.32]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id h396jEX00240 for ; Wed, 9 Apr 2003 08:45:15 +0200 (MET DST) Received: from di.ens.fr (di.ens.fr [129.199.99.1]) by nef.ens.fr (8.12.9/1.01.28121999) with ESMTP id h396j5bX074457 ; Wed, 9 Apr 2003 08:45:05 +0200 (CEST) Received: from basilic.ens.fr (monniaux@basilic [129.199.99.48]) by di.ens.fr (8.12.9/jb-1.1) id h396j3Ro020284 ; Wed, 9 Apr 2003 08:45:03 +0200 (MEST) Received: from localhost (monniaux@localhost) by basilic.ens.fr (8.11.0/jb-1.1) id h396j2d25934 ; Wed, 9 Apr 2003 08:45:02 +0200 (MEST) X-Authentication-Warning: basilic.ens.fr: monniaux owned process doing -bs Date: Wed, 9 Apr 2003 08:45:02 +0200 (MEST) From: David Monniaux X-Sender: monniaux@basilic.ens.fr To: Yang Shouxun cc: caml-list@inria.fr Subject: Re: [Caml-list] stack overflow In-Reply-To: <200304091010.37547.yangsx@fltrp.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT X-Virus-Scanned: by amavisd-milter (http://amavis.org/) X-Spam: no; 0.00; monniaux:01 caml-list:01 shouxun:01 ulimit:01 kilobytes:01 ocaml:01 overflow:02 native:02 stack:02 wrote:03 l'ecole:04 uses:06 yang:06 ens:06 runs:07 X-Spam: no; 0.00; monniaux:01 caml-list:01 shouxun:01 ulimit:01 kilobytes:01 ocaml:01 overflow:02 native:02 stack:02 wrote:03 l'ecole:04 uses:06 yang:06 ens:06 runs:07 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk On Wed, 9 Apr 2003, Yang Shouxun wrote: > I've written a modified version of C4.5 program in OCaml. However, when the > input is big, say over 50000, the program (native code on Debian) died for > stack overflow. Otherwise, it runs as expected. In the case of native code, OCaml uses the ordinary system-provided stack. Please make sure the system stack size limit is not too low (ulimit -a on certain shells to see it, ulimit -s to set it, in kilobytes). David Monniaux http://www.di.ens.fr/~monniaux Laboratoire d'informatique de l'École Normale Supérieure, Paris, France ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners