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 TAA15094; Fri, 1 Mar 2002 19:52:41 +0100 (MET) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f 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 TAA15140 for ; Fri, 1 Mar 2002 19:52:40 +0100 (MET) Received: from wetware.wetware.com (wetware.wetware.com [199.108.16.1]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id g21Iqcb06061 for ; Fri, 1 Mar 2002 19:52:39 +0100 (MET) Received: from kallisti.apple.com(wetware.wetware.com[199.108.16.1]) (1361 bytes) by wetware.wetware.com via sendmail with P:esmtp/R:bind_hosts/T:inet_zone_bind_smtp (sender: ) id for ; Fri, 1 Mar 2002 10:52:37 -0800 (PST) (Smail-3.2.0.114 2001-Aug-6 #1 built 2002-Jan-4) Date: Fri, 1 Mar 2002 10:52:40 -0800 Mime-Version: 1.0 (Apple Message framework v481) Content-Type: text/plain; charset=US-ASCII; format=flowed Subject: [Caml-list] troubleshooting problem related to garbage collection From: james woodyatt To: The Trade Content-Transfer-Encoding: 7bit Message-Id: <81A4E362-2D45-11D6-BA3A-000502DB38F5@wetware.com> X-Mailer: Apple Mail (2.481) Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk friends-- Last night I spent a lot of time trying to figure out why an assertion was failing in my code when I use it with large data sets. I'm still puzzled. This morning, I inserted the following at the beginning of my main module: > Gc.set { > (Gc.get ()) with > Gc.major_heap_increment = 64000 > } This made the problem go away. What's even more strange is that there are multiple failure modes to choose from depending on which number I pick for the major_heap_increment value. The number I am using here just happens to be the one that makes the code work. Can anyone advise me on how to find the bug here? -- j h woodyatt "...the antidote to misinformation is more information, not less." --vinton cerf ------------------- 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