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.8 required=5.0 tests=AWL,SPF_FAIL autolearn=disabled version=3.1.3 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 4F0CCBB84 for ; Mon, 12 Jan 2009 23:01:31 +0100 (CET) X-IronPort-AV: E=Sophos;i="4.37,255,1231110000"; d="scan'208";a="21387793" Received: from discorde.inria.fr ([192.93.2.38]) by mail3-smtp-sop.national.inria.fr with ESMTP; 12 Jan 2009 23:01:31 +0100 Received: from mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by discorde.inria.fr (8.13.6/8.13.6) with ESMTP id n0CM1UvC024325 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=OK) for ; Mon, 12 Jan 2009 23:01:30 +0100 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AlQDAKlMa0lQRFuwgWdsb2JhbACUFgEBFiK+OYVv X-IronPort-AV: E=Sophos;i="4.37,255,1231110000"; d="scan'208";a="33640242" Received: from furbychan.cocan.org ([80.68.91.176]) by mail4-smtp-sop.national.inria.fr with ESMTP/TLS/AES256-SHA; 12 Jan 2009 23:01:29 +0100 Received: from rich by furbychan.cocan.org with local (Exim 4.63) (envelope-from ) id 1LMUqc-0006rW-Su; Mon, 12 Jan 2009 22:01:26 +0000 Date: Mon, 12 Jan 2009 22:01:26 +0000 To: John Lepikhin Cc: caml-list@inria.fr Subject: Re: [Caml-list] Re: memory usage Message-ID: <20090112220126.GA26026@annexia.org> References: <1231746106.4376.27.camel@john-laptop> <20090112083913.GA28059@annexia.org> <1231751641.4376.39.camel@john-laptop> <1231759695.4376.55.camel@john-laptop> <20090112114127.GA1568@annexia.org> <1231782999.4376.246.camel@john-laptop> <20090112201219.GB21039@annexia.org> <1231796046.4376.261.camel@john-laptop> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1231796046.4376.261.camel@john-laptop> User-Agent: Mutt/1.5.13 (2006-08-11) From: Richard Jones X-Miltered: at discorde with ID 496BBDBA.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; stdout:01 endline:01 2009:98 wrote:01 unix:01 caml-list:01 output:02 output:02 cached:02 string:02 flush:03 dev:04 tue:06 red:92 seem:08 On Tue, Jan 13, 2009 at 05:34:06AM +0800, John Lepikhin wrote: > > > > I'm not sure this is the same issue. Look at this test code: > > For reasons I don't fully understand, this code doesn't seem to do > > anything. A print statement after the Unix.openfile is never printed. > > Possibly you use print_string or something like this. Such output is > cached. You should either flush stdout or use print_endline. Yeah, I flushed the output and I used /dev/zero - I still see no messages. Rich. -- Richard Jones Red Hat