From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by yquem.inria.fr (Postfix) with ESMTP id BD091BBBB for ; Fri, 31 Mar 2006 22:44:27 +0200 (CEST) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.194]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id k2VKiQAG003052 for ; Fri, 31 Mar 2006 22:44:26 +0200 Received: by xproxy.gmail.com with SMTP id i27so529146wxd for ; Fri, 31 Mar 2006 12:44:26 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=mXqYlAD6QacvSuXm9MrBfCQBraiTeC/KLWH7jUSL6pkUD6goV04y9mhUFL9gkPOBGwxwniSqMgtxbdWkcBdVTn4UIcK35c4ZQpvcG8TN9wWbY6qoZMocaWZodKaCCMaXV9mbBDSgbyU7Pu3Oh4jguGpDlu7EGSLSWpyrey4vdgw= Received: by 10.70.90.9 with SMTP id n9mr155453wxb; Fri, 31 Mar 2006 12:44:26 -0800 (PST) Received: by 10.70.115.5 with HTTP; Fri, 31 Mar 2006 12:44:26 -0800 (PST) Message-ID: <54f15b6e0603311244u4677c290s481c4aaa859eae35@mail.gmail.com> Date: Fri, 31 Mar 2006 14:44:26 -0600 From: mulhern To: caml-list@yquem.inria.fr Subject: Stack_overflow MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Miltered: at nez-perce with ID 442D94AA.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; stack:01 staged:01 compilation:01 stack:01 exception:01 exception:01 compile:01 data:02 overflow:03 overflow:03 generated:05 problem:05 suggestions:05 elements:06 elements: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=RCVD_BY_IP autolearn=disabled version=3.0.3 Hi! I'm trying to compile an automatically generated list definition with approximately 12,000 elements. The list has type (record_type * record_type list) list where record_type is a simple record with 4 fields. I'm doing this because I'm trying to achieve a poor man's version of staged compilation. Unfortunately, I get a Stack_overflow exception. If I roughly half the number of elements in the list the Stack_overflow exception goes away. Does anybody have an suggestions for me to get around the stack overflow problem? What if I want to make my data an order of magnitude larger? Thanks! -mulhern