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 QAA30704; Tue, 13 Jul 2004 16:16:28 +0200 (MET DST) 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 QAA30538 for ; Tue, 13 Jul 2004 16:16:27 +0200 (MET DST) X-SPAM-Warning: Sending machine is listed in blackholes.five-ten-sg.com Received: from glow.phpwebhosting.com (glow.phpwebhosting.com [67.18.12.66]) by nez-perce.inria.fr (8.12.10/8.12.10) with SMTP id i6DEGNEV015739 for ; Tue, 13 Jul 2004 16:16:26 +0200 Received: (qmail 1473 invoked from network); 13 Jul 2004 14:12:54 -0000 Received: from unknown (HELO sparky) (24.163.170.87) by glow.phpwebhosting.com with SMTP; 13 Jul 2004 14:12:54 -0000 Content-Type: text/plain; charset="us-ascii" From: Tom Hawkins Organization: Launchbird Design Systems, Inc. To: caml-list@inria.fr Subject: [Caml-list] Immediate Out_of_memory Date: Tue, 13 Jul 2004 09:10:12 -0500 User-Agent: KMail/1.4.3 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200407130910.12206.tom@launchbird.com> X-Miltered: at nez-perce with ID 40F3EEB7.001 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Loop: caml-list@inria.fr X-Spam: no; 0.00; chunks:01 513:99 3.07:01 convoluted:01 fragments:01 exception:02 exception:02 heap:03 heap:03 swap:05 blocks:06 blocks:06 stat:07 minor:07 minor:07 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk After making a few minor changes, my program started raising the=20 Out_of_memory exception. The strange thing is it fires a split=20 second after the program starts. It happens so fast, 'top' doesn't=20 even have a chance to register it on its radar. I narrowed it down to a 'Hashtbl.find' application. Just prior to the=20 statement I did a 'Gc.print_stat stdout': minor_words: 1044856 promoted_words: 360738 major_words: 371008 minor_collections: 31 major_collections: 6 heap_words: 368640 heap_chunks: 6 top_heap_words: 368640 live_words: 352563 live_blocks: 83968 free_words: 15973 free_blocks: 513 largest_free: 9539 fragments: 104 compactions: 0 Fatal error: exception Out_of_memory Do these numbers look OK? I have 249MB of total swap memory, with=20 currently 216 MB free. Any ideas? The results are the same for both 3.07+2 and 3.08.0. I'll try to produce a simplified test case. Unfortunately it's in a=20 rather convoluted spot in the application. Thanks for any help. -Tom ------------------- 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