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=2.8 required=5.0 tests=DNS_FROM_RFC_POST,SPF_NEUTRAL 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 E0908BBAF for ; Tue, 5 May 2009 14:45:18 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AjsBACPS/0nRVYa5mGdsb2JhbACWOD8BAQEBAQgJDAcRpzaBCpAEAQMBA4N+BQ X-IronPort-AV: E=Sophos;i="4.38,431,1233529200"; d="scan'208";a="28773966" Received: from mu-out-0910.google.com ([209.85.134.185]) by mail1-smtp-roc.national.inria.fr with ESMTP; 05 May 2009 14:45:18 +0200 Received: by mu-out-0910.google.com with SMTP id g7so2073389muf.7 for ; Tue, 05 May 2009 05:45:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=xQwAdQbw0wZWHPyoEqKQ+Bm25ewW18GVJRpc93b4j54=; b=f9UQ32P4BJ0ZyjNazQl7R5k7a9ENggYkzaQQgwFsHKRO0E0HUcYBI1uH+XBFFYkDiF Jq2ADdw91RHz80Y+R2JCiBzBZfaUpWqphYELSYzLqhUroNujDvCfhtGoxj7ldAIeLcLc kbFHEqi7W/zMxiyZ3XYyandthELh3uqOCHlf0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=p/iUfKXu3Ts2pZgg91FRvE5Ozjjz7cbd9QkVG3SceaXJEW/Qj5hbh0fCs3LxMe1Itr DEp0tekWTEI4p2wYIOLZNMEPEe2vC1ejX+557Rv624SRHxL3Hybxt2+cXuAEF3+JVNs0 ROEVEoZXJ2502tZAUzD133bfsvd4b/+/FklAE= MIME-Version: 1.0 Received: by 10.103.117.9 with SMTP id u9mr17797mum.55.1241527518309; Tue, 05 May 2009 05:45:18 -0700 (PDT) In-Reply-To: References: Date: Tue, 5 May 2009 15:45:18 +0300 Message-ID: Subject: Re: [Caml-list] memory profiling From: dmitry grebeniuk To: Christoph Bauer Cc: caml-list@inria.fr Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam: no; 0.00; grebeniuk:01 ocaml:01 ocaml:01 2009:98 0.12:98 frs:98 heap:01 msvc:01 msvc:01 dmitry:01 caml-list:01 unresolved:02 library:03 christoph:04 christoph:04 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, and old versions won't work. objsize has an unresolved make-related problem with building on msvc/win32 (object/library file extensions, to be specific), so one should build objsize manually on msvc (not a hard thing. but I'll fix it in near future).