From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 8DA14BBAF for ; Sat, 9 Jan 2010 13:40:41 +0100 (CET) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ag0EACoISEtQRFuwX2dsb2JhbACbUhcLCgQWuD2ELwQ X-IronPort-AV: E=Sophos;i="4.49,247,1262559600"; d="scan'208";a="44518016" Received: from furbychan.cocan.org ([80.68.91.176]) by mail1-smtp-roc.national.inria.fr with ESMTP; 09 Jan 2010 13:40:41 +0100 Received: from rich by furbychan.cocan.org with local (Exim 4.63) (envelope-from ) id 1NTacS-0008Bu-74; Sat, 09 Jan 2010 12:40:40 +0000 Date: Sat, 9 Jan 2010 12:40:40 +0000 To: Jon Harrop Cc: caml-list@yquem.inria.fr Subject: Re: [Caml-list] memory profiling Message-ID: <20100109124040.GB26610@annexia.org> References: <201001091325.52114.jon@ffconsultancy.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201001091325.52114.jon@ffconsultancy.com> User-Agent: Mutt/1.5.13 (2006-08-11) From: Richard Jones X-Spam: no; 0.00; grebeniuk:01 ocaml:01 ocaml:01 bitmap:01 hash:01 bug:01 2009:98 2009:98 0.12:98 frs:98 wrote:01 wrote:01 heap:01 heap:01 dmitry:01 On Sat, Jan 09, 2010 at 01:25:52PM +0000, Jon Harrop wrote: > On Tuesday 05 May 2009 13:45:18 dmitry grebeniuk wrote: > > 2009/5/5 Christoph Bauer : > > > what is the best option to do memory profiling with ocaml? > > > Is there a patch of ocaml-memprof for 3.11.0? What about > > > objsize? > > > > If you want to use objsize with ocaml 3.11, you should get > > the new version of objsize -- 0.12: > > http://forge.ocamlcore.org/frs/?group_id=3 > > OCaml has new heap since 3.11... > > Can anyone elaborate on this? Not sure about "new heap", but the way that heap pages are tracked changed from 3.10 -> 3.11. In 3.10 a flat bitmap was used. This was unsuitable for 64 bit address spaces[1] and in 3.11 a sparse structure is used (a hash table). Rich. [1] https://bugzilla.redhat.com/show_bug.cgi?id=445545#c9 -- Richard Jones Red Hat