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 mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by yquem.inria.fr (Postfix) with ESMTP id E4DA1BC37 for ; Fri, 29 Jan 2010 05:34:16 +0100 (CET) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AuEBAEP0YUvYi+yemWdsb2JhbACDM4wDggiKCQEBAQEBCAsKBxOuZSuGbohtgSuCPFkE X-IronPort-AV: E=Sophos;i="4.49,364,1262559600"; d="scan'208";a="54891290" Received: from kuber.nabble.com ([216.139.236.158]) by mail4-smtp-sop.national.inria.fr with ESMTP/TLS/AES256-SHA; 29 Jan 2010 05:34:16 +0100 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1NaiYf-0008ME-HE for caml-list@yquem.inria.fr; Thu, 28 Jan 2010 20:34:13 -0800 Message-ID: <27366754.post@talk.nabble.com> Date: Thu, 28 Jan 2010 20:34:13 -0800 (PST) From: warrensomebody To: caml-list@yquem.inria.fr Subject: Re: [Caml-list] debugging memory leaks In-Reply-To: <4738DB6D.5020001@ens-lyon.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Nabble-From: warrensomebody@gmail.com References: <86183D4E-184A-4F26-84F9-93411D070B38@maubi.net> <20071112085325.01abdcf3.petchema@concept-micro.com> <1f4f725e0711121253y2b63cb2ag94af4f0c8642285a@mail.gmail.com> <4738DB6D.5020001@ens-lyon.org> X-Spam: no; 0.00; ocaml-:01 ocaml-:01 author's:01 saclay:01 ocaml:01 minimally:01 compiler:01 ocaml:01 beginner's:01 bug:01 beginner's:01 bug:01 warren:98 warren:98 beginners:01 I know this is an old thread, but I have revised the memprof patch to work with ocaml-3.11.2. Please let me know if there is a maintainer who would like to look this over and/or distribute it. Otherwise, I'll put it up on github or google code. Thanks, Warren -- Warren Harris warren@metaweb.com Metaweb Technologies http://www.freebase.com - An open database of the world=E2=80=99s informati= on. Samuel Mimram-2 wrote: >=20 > Hi, >=20 > Since I put the patch on my webpage I owe you an apology. If I remember= =20 > well, I got the link on IRC while having issues with memory and the only= =20 > thing I did was to resolve the conflicts generated by diff. I put it on= =20 > the net because it was hard to find and apparently it was useful to=20 > other people. I'm correcting the credits right now. >=20 > Regards, >=20 > Samuel. >=20 >=20 > 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. >>=20 >> - Fabrice Le Fesasnt >> ASAP Project, INRIA Saclay >>=20 >> On Nov 12, 2007 8:53 AM, Pierre Etchema=C3=AFt=C3=A9 >> wrote: >>> Le Sun, 11 Nov 2007 21:56:06 -0800, Chris Waterson >>> a =C3=A9crit : >>> >>>> 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 >>> >>=20 >> _______________________________________________ >> 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 >=20 > _______________________________________________ > 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 >=20 >=20 --=20 View this message in context: http://old.nabble.com/debugging-memory-leaks-= tp13700286p27366754.html Sent from the Caml Discuss2 mailing list archive at Nabble.com.