From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id OAA04328; Thu, 21 Aug 2003 14:54:50 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id OAA14345 for ; Thu, 21 Aug 2003 14:54:49 +0200 (MET DST) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id h7LCslf07361; Thu, 21 Aug 2003 14:54:47 +0200 (MET DST) Received: (from xleroy@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id OAA15254; Thu, 21 Aug 2003 14:54:47 +0200 (MET DST) Date: Thu, 21 Aug 2003 14:54:47 +0200 From: Xavier Leroy To: Tahir H Butt Cc: caml-list@inria.fr Subject: Re: [Caml-list] memory problems Message-ID: <20030821145447.B14214@pauillac.inria.fr> References: <1061323892.20426.33.camel@venere.cog.brown.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <1061323892.20426.33.camel@venere.cog.brown.edu>; from tahir@acm.jhu.edu on Tue, Aug 19, 2003 at 04:11:33PM -0400 X-Loop: caml-list@inria.fr X-Spam: no; 0.00; caml-list:01 ocamlopt:01 ocamlc:01 3.06,:01 3.07:01 flags:01 behavior:03 i'd:06 optimization:06 load:06 send:93 throwing:07 describe:08 function:09 memory:09 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk > Using both ocamlopt and ocamlc (3.06, and 3.07beta1, with and without > optimization flags), (A) and (B) keep a constant memory load through the > course of the program. (C) which is the actual value I need to set > causes the memory usage to grow each time the above function is called. I'd be interested in a complete program that exhibits the behavior you describe. (Please send it just to me, so as not to clutter this list.) > I've tried throwing in some Gc.compact() lines, without luck. You can also try Gc.full_major(). - Xavier Leroy ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners