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 mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by yquem.inria.fr (Postfix) with ESMTP id D51A6BC57 for ; Mon, 30 Aug 2010 16:12:58 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AggHAA9Ze0yGnQCBlGdsb2JhbACRLYF8jRwVAQEBAQkLCAkRAx+7AoJtgkoE X-IronPort-AV: E=Sophos;i="4.56,292,1280700000"; d="scan'208";a="56183633" Received: from shiva.jussieu.fr ([134.157.0.129]) by mail3-smtp-sop.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-SHA; 30 Aug 2010 16:12:58 +0200 Received: from hydrogene.pps.jussieu.fr (hydrogene.pps.jussieu.fr [134.157.168.1]) by shiva.jussieu.fr (8.14.4/jtpda-5.4) with ESMTP id o7UECv5j056084 for ; Mon, 30 Aug 2010 16:12:58 +0200 (CEST) X-Ids:165 Received: from hydrogene.pps.jussieu.fr (localhost.localdomain [127.0.0.1]) by hydrogene.pps.jussieu.fr (8.13.4/jtpda-5.4) with ESMTP id o7UECuBP024230 for ; Mon, 30 Aug 2010 16:12:56 +0200 Received: (from abate@localhost) by hydrogene.pps.jussieu.fr (8.13.4/8.13.2/Submit) id o7UECuQ9024229 for caml-list@yquem.inria.fr; Mon, 30 Aug 2010 16:12:56 +0200 Date: Mon, 30 Aug 2010 16:12:56 +0200 From: Pietro Abate To: caml-list@yquem.inria.fr Subject: Re: [Caml-list] Tracking memory usage: GC output not same order as unix top command Message-ID: <20100830141256.GA23765@uranium.pps.jussieu.fr> References: <4C7B7D4E.4020500@inescporto.pt> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4C7B7D4E.4020500@inescporto.pt> X-Operating-System: GNU/Linux User-Agent: Mutt/1.5.9i X-Miltered: at jchkmail.jussieu.fr with ID 4C7BBC69.006 by Joe's j-chkmail (http : // j-chkmail dot ensmp dot fr)! X-j-chkmail-Enveloppe: 4C7BBC69.006/134.157.168.1/hydrogene.pps.jussieu.fr/hydrogene.pps.jussieu.fr/ X-Spam: no; 0.00; 0100,:01 wikipedia:01 wiki:01 wrote:01 unix:01 heap:01 pps:01 caml-list:01 functions:01 jussieu:01 algorithm:01 output:02 module:03 problem:05 style:93 On Mon, Aug 30, 2010 at 10:43:42AM +0100, Hugo Ferreira wrote: > I have a problem trying to identify where my algorithm consumes > so much memory. I have created a set of functions (see end of message) > that uses the GC module to obtain the memory used in the heap and print > that out to determine where memory is being consumed. have you tried ocamlviz ? http://ocamlviz.forge.ocamlcore.org/ -- ---- http://en.wikipedia.org/wiki/Posting_style