From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.1.3 Received: from mail1-relais-roc.national.inria.fr (mail1-relais-roc.national.inria.fr [192.134.164.82]) by yquem.inria.fr (Postfix) with ESMTP id AE196BC69 for ; Tue, 13 Nov 2007 00:02:07 +0100 (CET) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ah4FAL9pOEdQwu2u/2dsb2JhbACBW457 X-IronPort-AV: E=Sophos;i="4.21,407,1188770400"; d="scan'208";a="4348435" Received: from 80-194-237-174.cable.ubr04.camd.blueyonder.co.uk (HELO babasse.is-a-geek.org) ([80.194.237.174]) by mail1-smtp-roc.national.inria.fr with ESMTP; 13 Nov 2007 00:02:07 +0100 Received: from localhost ([127.0.0.1] helo=babasse.is-a-geek.org) by babasse.is-a-geek.org with esmtp (Exim 4.67) (envelope-from ) id 1IriIA-0003Yp-5W; Mon, 12 Nov 2007 23:02:06 +0000 Message-ID: <4738DB6D.5020001@ens-lyon.org> Date: Mon, 12 Nov 2007 23:02:05 +0000 From: Samuel Mimram User-Agent: Mozilla-Thunderbird 2.0.0.6 (X11/20071009) MIME-Version: 1.0 To: Fabrice Le Fessant Cc: caml-list@yquem.inria.fr Subject: Re: [Caml-list] debugging memory leaks References: <86183D4E-184A-4F26-84F9-93411D070B38@maubi.net> <20071112085325.01abdcf3.petchema@concept-micro.com> <1f4f725e0711121253y2b63cb2ag94af4f0c8642285a@mail.gmail.com> In-Reply-To: <1f4f725e0711121253y2b63cb2ag94af4f0c8642285a@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Spam: no; 0.00; ens-lyon:01 ocaml-:01 author's:01 saclay:01 ocaml:01 minimally:01 compiler:01 ocaml:01 ocaml-:01 beginner's:01 bug:01 beginner's:01 bug:01 beginners:01 beginners:01 Hi, Since I put the patch on my webpage I owe you an apology. If I remember well, I got the link on IRC while having issues with memory and the only thing I did was to resolve the conflicts generated by diff. I put it on the net because it was hard to find and apparently it was useful to other people. I'm correcting the credits right now. Regards, Samuel. Fabrice Le Fessant wrote: > Interesting, I did a patch in 2004, called ocaml-memprof for > ocaml-3.07,but there is not a single reference/credit to it on this > page... Given the inheritance, the maintainer should be careful to > keep the original author's name. > > - Fabrice Le Fesasnt > ASAP Project, INRIA Saclay > > On Nov 12, 2007 8:53 AM, Pierre Etchemaïté wrote: >> Le Sun, 11 Nov 2007 21:56:06 -0800, Chris Waterson a écrit : >> >>> I have a fairly substantial OCaml application that leaks memory. >>> What tools or techniques do people use to track down memory leaks? >>> Minimally, is there a way to enumerate the live objects in the heap? >> There's ocaml-memprof, a compiler patch that adds memory profiling >> features to ocaml programs; >> >> Latest update of the patch itself, as far as I know: >> http://www.pps.jussieu.fr/~smimram/docs/ocaml-3.09.3-memprof.patch >> >> Readme: >> http://www.pps.jussieu.fr/~smimram/docs/README.memprof >> >> >> _______________________________________________ >> 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 >> > > _______________________________________________ > 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