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 89F1ABB81 for ; Sat, 18 Dec 2004 09:18:09 +0100 (CET) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id iBI8I9PG006628 for ; Sat, 18 Dec 2004 09:18:09 +0100 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 JAA32354 for ; Sat, 18 Dec 2004 09:18:08 +0100 (MET) Received: from mail.eecs.harvard.edu (bowser.eecs.harvard.edu [140.247.60.24]) by concorde.inria.fr (8.13.0/8.13.0) with ESMTP id iBI8I8FD025772; Sat, 18 Dec 2004 09:18:08 +0100 Received: from localhost (localhost.eecs.harvard.edu [127.0.0.1]) by mail.eecs.harvard.edu (Postfix) with ESMTP id E0C5854C826; Sat, 18 Dec 2004 03:18:07 -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 04864-08; Sat, 18 Dec 2004 03:18:07 -0500 (EST) Received: by mail.eecs.harvard.edu (Postfix, from userid 32018) id B93A154C7DB; Sat, 18 Dec 2004 03:18:07 -0500 (EST) Received: from localhost (localhost [127.0.0.1]) by mail.eecs.harvard.edu (Postfix) with ESMTP id B2F9854C7BC; Sat, 18 Dec 2004 03:18:07 -0500 (EST) Date: Sat, 18 Dec 2004 03:18:07 -0500 (EST) From: Christopher Alexander Stein To: Damien Doligez Cc: caml users Subject: Re: [Caml-list] Out_of_memory In-Reply-To: <2BD7548E-5081-11D9-B92D-000D9345235C@inria.fr> Message-ID: <20041218031455.C86590@bowser.eecs.harvard.edu> References: <20041217013905.L29074@bowser.eecs.harvard.edu> <2BD7548E-5081-11D9-B92D-000D9345235C@inria.fr> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE X-Virus-Scanned: by amavisd-new at eecs.harvard.edu X-Miltered: at nez-perce with ID 41C3E7C1.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Miltered: at concorde with ID 41C3E7C0.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; caml-list:01 gdb:01 gdb:01 stack:01 lwp:01 oldify:01 oldify:01 minor:01 heap:01 minor:01 alloc:01 interprete:01 damien:01 wrote:01 wrote:01 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: Do you mean something more than gdb? I've used gdb and I get the following stack trace: Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 1075667072 (LWP 9819)] 0x0805a026 in caml_oldify_mopup () (gdb) bt #0 0x0805a026 in caml_oldify_mopup () #1 0x0805a0e5 in caml_empty_minor_heap () #2 0x0805a190 in caml_minor_collection () #3 0x0805a21a in caml_check_urgent_gc () #4 0x0805ac3f in caml_alloc_string () #5 0x0805e138 in caml_create_string () #6 0x080688de in caml_interprete () #7 0x08059be9 in caml_main () #8 0x08059d60 in main () (gdb) I'm not sure where to go from here. What do you recommend? Thanks Lex On Sat, 18 Dec 2004, Damien Doligez wrote: > On 17 d=E9c. 2004, at 07:44, Christopher Alexander Stein wrote: > > > 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? > > Have you tried using the debugger? > > -- Damien > > _______________________________________________ > Caml-list mailing list. Subscription management: > http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list > Archives: http://caml.inria.fr > Beginner's list: http://groups.yahoo.com/group/ocaml_beginners > Bug reports: http://caml.inria.fr/bin/caml-bugs >