From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by yquem.inria.fr (Postfix) with ESMTP id CB4AEBB81 for ; Fri, 17 Dec 2004 07:44:05 +0100 (CET) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by concorde.inria.fr (8.13.0/8.13.0) with ESMTP id iBH6i50e030264 for ; Fri, 17 Dec 2004 07:44:05 +0100 Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id HAA15074 for ; Fri, 17 Dec 2004 07:44:05 +0100 (MET) Received: from mail.eecs.harvard.edu (bowser.eecs.harvard.edu [140.247.60.24]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id iBH6i4XX029318 for ; Fri, 17 Dec 2004 07:44:04 +0100 Received: from localhost (localhost.eecs.harvard.edu [127.0.0.1]) by mail.eecs.harvard.edu (Postfix) with ESMTP id 987BF54C62C for ; Fri, 17 Dec 2004 01:44:03 -0500 (EST) Received: from mail.eecs.harvard.edu ([127.0.0.1]) by localhost (bowser.eecs.harvard.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 37653-04 for ; Fri, 17 Dec 2004 01:44:03 -0500 (EST) Received: by mail.eecs.harvard.edu (Postfix, from userid 32018) id 735A254C62A; Fri, 17 Dec 2004 01:44:03 -0500 (EST) Received: from localhost (localhost [127.0.0.1]) by mail.eecs.harvard.edu (Postfix) with ESMTP id 70D4654C619 for ; Fri, 17 Dec 2004 01:44:03 -0500 (EST) Date: Fri, 17 Dec 2004 01:44:03 -0500 (EST) From: Christopher Alexander Stein To: caml-list@inria.fr Subject: Out_of_memory Message-ID: <20041217013905.L29074@bowser.eecs.harvard.edu> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by amavisd-new at eecs.harvard.edu X-Miltered: at concorde with ID 41C28035.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Miltered: at nez-perce with ID 41C28034.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; garbage:01 heap:01 garbage:01 ocaml:01 htmlman:01 exception:01 exception:01 lex:01 computation:01 eecs:01 caml:02 alexander:02 dump:03 perhaps:03 library:03 X-Spam-Checker-Version: SpamAssassin 3.0.0 (2004-09-13) on yquem.inria.fr X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.0.0 X-Spam-Level: Hi, I am getting an exception Out_of_memory. The manual tells me this is raised by the garbage collector when there is insufficient memory to complete the computation. Is there any way to find out what is causing this; what is gobbling up memory too fast for the GC? Perhaps there is a way to get and analyze a core file or a way to catch the exception and dump the heap and garbage collector state. Any suggestions? I am using a C library, but carefully followed the rules of; http://caml.inria.fr/ocaml/htmlman/manual032.html Though I suspect the C library is responsible. Thanks Lex