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 VAA15354; Tue, 16 Apr 2002 21:12:23 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: (from weis@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id VAA14980 for caml-list@pauillac.inria.fr; Tue, 16 Apr 2002 21:12:23 +0200 (MET DST) Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id PAA10035 for ; Tue, 16 Apr 2002 15:22:18 +0200 (MET DST) X-SPAM-Warning: Sending machine is listed in blackholes.five-ten-sg.com Received: from sj1-3-4-9.securesites.net (sj1-3-4-9.securesites.net [192.220.127.202]) by nez-perce.inria.fr (8.11.1/8.11.1) with SMTP id g3GDMH515541 for ; Tue, 16 Apr 2002 15:22:17 +0200 (MET DST) Received: (qmail 68121 invoked by uid 16863); 16 Apr 2002 13:22:15 -0000 Received: from unknown (HELO localhost) ([192.220.65.223]) (envelope-sender ) by 192.220.65.223 (qmail-ldap-1.03) with SMTP for ; 16 Apr 2002 13:22:15 -0000 Date: Tue, 16 Apr 2002 13:22:15 +0000 (GMT) From: Brian Rogoff To: Martin Jambon cc: caml-list@inria.fr Subject: Re: [Caml-list] Memory leak In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk On Mon, 15 Apr 2002, Martin Jambon wrote: > Hello, > > Is it possible that non-negligible amounts of unreachable data are never > freed by the GC? Sure. There was a great demo of this on the translator's list for the O'Reilly book; create a representation of stacks based on arrays with a top of stack index. Popping items off of the stack by moving the TOS pointer around won't free them. Could you be doing something like that? -- Brian ------------------- 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