From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Delivered-To: caml-list@yquem.inria.fr Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by yquem.inria.fr (Postfix) with ESMTP id BD1F5BB91 for ; Wed, 12 Jan 2005 00:46:53 +0100 (CET) Received: from mx68.mysite4now.com (mx68.mysite4now.com [216.250.116.67]) by concorde.inria.fr (8.13.0/8.13.0) with ESMTP id j0BNkq7v001001 for ; Wed, 12 Jan 2005 00:46:53 +0100 Received: from [203.173.16.77] by mx68.mysite4now.com [216.250.116.67] with SmartMax MailMax for caml-list@yquem.inria.fr; Tue, 11 Jan 2005 15:49:32 -0800 X-SmartMax-AuthUser: From: "Dominic Cooney" To: Subject: Mingw Ocaml-3.08.2 "Program too big to fit in memory"? Date: Wed, 12 Jan 2005 09:46:49 +1000 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0022_01C4F88B.A3EBD1E0" X-Mailer: Microsoft Office Outlook, Build 11.0.6353 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 thread-index: AcT4N9FFzX7E8N9bSUKBgXHQ/Y/Kug== Message-ID: <1105487373.15665@mx68.mysite4now.com> X-Miltered: at concorde with ID 41E4656C.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; mingw:01 mingw:01 ocamlc:01 ocaml:01 ocamlopt:01 ocamlc:01 ocaml:01 ocamlopt:01 cygwin:01 cygwin:01 binaries:01 binaries:01 ocamlwin:02 ocamlwin:02 arial:96 X-Spam-Checker-Version: SpamAssassin 3.0.0 (2004-09-13) on yquem.inria.fr X-Spam-Status: No, score=0.0 required=5.0 tests=HTML_MESSAGE autolearn=disabled version=3.0.0 X-Spam-Level: This is a multi-part message in MIME format. ------=_NextPart_000_0022_01C4F88B.A3EBD1E0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit I built Ocaml-3.08.2 with Cygwin Mingw (all downloaded today) and all of the binaries (e.g. ocamlc.exe, ocaml.exe, ocamlopt.exe, etc.) report "Program too big to fit in memory". All of the opt.opt binaries (e.g. ocamlc.opt, etc.) and OcamlWin.exe seem to work fine (although OcamlWin can't spawn ocaml.exe, of course.) The machine has 2 GB physical memory and is very lightly loaded (page file usage is about .5 GB). Has anybody encountered this problem? Dominic Cooney ------=_NextPart_000_0022_01C4F88B.A3EBD1E0 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

I built Ocaml-3.08.2 with Cygwin Mingw (all = downloaded today) and all of the binaries (e.g. ocamlc.exe, ocaml.exe, = ocamlopt.exe, etc.) report “Program too big to fit in memory”. All of the = opt.opt binaries (e.g. ocamlc.opt, etc.) and OcamlWin.exe seem to work fine = (although OcamlWin can’t spawn ocaml.exe, of course.) The machine has 2 GB = physical memory and is very lightly loaded (page file usage is about .5 = GB).

 

Has anybody encountered this = problem?

 

Dominic Cooney

 

------=_NextPart_000_0022_01C4F88B.A3EBD1E0-- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Delivered-To: caml-list@yquem.inria.fr Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by yquem.inria.fr (Postfix) with ESMTP id 01AA7BB91 for ; Wed, 12 Jan 2005 10:19:27 +0100 (CET) Received: from decis.be ([194.78.219.157]) by concorde.inria.fr (8.13.0/8.13.0) with ESMTP id j0C9JQbP032400 for ; Wed, 12 Jan 2005 10:19:26 +0100 Received: from decis.be by decis.be (MDaemon.PRO.v7.2.2.R) with ESMTP id md50000201087.msg for ; Wed, 12 Jan 2005 10:20:47 +0100 Message-ID: <41E4EBEC.740BCDB7@decis.be> Date: Wed, 12 Jan 2005 09:20:44 +0000 From: Frederic van der Plancke Organization: Decis X-Mailer: Mozilla 4.77 [en] (Windows NT 5.0; U) X-Accept-Language: en,fr-BE,fr MIME-Version: 1.0 To: caml-list@yquem.inria.fr Subject: Re: [Caml-list] Mingw Ocaml-3.08.2 "Program too big to fit in memory"? References: <1105487373.15665@mx68.mysite4now.com> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Authenticated-Sender: fplancke@decis.be X-MDRemoteIP: 192.168.0.20 X-Return-Path: fvdp@decis.be X-MDaemon-Deliver-To: caml-list@yquem.inria.fr Reply-To: fvdp@decis.be X-Miltered: at concorde with ID 41E4EB9E.001 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; plancke:01 caml-list:01 mingw:01 wrote:01 mingw:01 ocamlc:01 ocaml:01 ocamlopt:01 ocamlc:01 ocaml:01 computed:01 integers:01 computes:01 cygwin:01 binaries:01 X-Spam-Checker-Version: SpamAssassin 3.0.0 (2004-09-13) on yquem.inria.fr X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.0.0 X-Spam-Level: Dominic Cooney wrote: > I built Ocaml-3.08.2 with Cygwin Mingw (all downloaded today) and all of the > binaries (e.g. ocamlc.exe, ocaml.exe, ocamlopt.exe, etc.) report "Program > too big to fit in memory". All of the opt.opt binaries (e.g. ocamlc.opt, > etc.) and OcamlWin.exe seem to work fine (although OcamlWin can't spawn > ocaml.exe, of course.) The machine has 2 GB physical memory and is very > lightly loaded (page file usage is about .5 GB). Perhaps you have *too much* memory. Your situation reminds me of problem I've had with > 2GB disks and older installation programs who computed remaining disk space with 32 bit integers and thus failed. OCaml maybe computes remaining memory with 31 bits so 1 GB is the max (on 32 bit machines) ? Frédéric vdP From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Delivered-To: caml-list@yquem.inria.fr Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by yquem.inria.fr (Postfix) with ESMTP id D2853BB91 for ; Wed, 12 Jan 2005 11:59:48 +0100 (CET) Received: from mx68.mysite4now.com (mx68.mysite4now.com [216.250.116.67]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id j0CAxld6008164 for ; Wed, 12 Jan 2005 11:59:48 +0100 Received: from [203.173.16.77] by mx68.mysite4now.com [216.250.116.67] with SmartMax MailMax for caml-list@yquem.inria.fr; Wed, 12 Jan 2005 03:02:54 -0800 X-SmartMax-AuthUser: From: "Dominic Cooney" To: , Cc: Subject: RE: [Caml-list] Mingw Ocaml-3.08.2 "Program too big to fit in memory"? Date: Wed, 12 Jan 2005 20:59:42 +1000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook, Build 11.0.6353 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Thread-Index: AcT4iPyTTCpDl9QGSga/xvnQFQ6KFwADFNcw In-Reply-To: <41E4EBEC.740BCDB7@decis.be> Message-ID: <1105527775.9464@mx68.mysite4now.com> X-Miltered: at nez-perce with ID 41E50323.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; caml-list:01 mingw:01 ocamlc:01 ocamlc:01 bss:01 plancke:01 caml-list:01 mingw:01 wrote:01 ocaml:01 ocamlopt:01 ocaml:01 computed:01 integers:01 computes:01 X-Spam-Checker-Version: SpamAssassin 3.0.0 (2004-09-13) on yquem.inria.fr X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.0.0 X-Spam-Level: I think the binaries are corrupt. Here's the output of dumpbin on = ocamlc.exe and ocamlc.opt.exe (note that ocamlc.exe doesn't work, and = ocamlc.opt.exe does work): Microsoft (R) COFF/PE Dumper Version 8.00.40607.85 Copyright (C) Microsoft Corporation. All rights reserved. Dump of file ocamlc.exe ocamlc.exe : warning LNK4048: Invalid format file; ignored Summary C:\working\OCAMLM~1.2\bin>dumpbin ocamlc.opt.exe Microsoft (R) COFF/PE Dumper Version 8.00.40607.85 Copyright (C) Microsoft Corporation. All rights reserved. Dump of file ocamlc.opt.exe File Type: EXECUTABLE IMAGE Summary 2000 .bss 6F000 .data 1000 .idata 2000 .rdata DF000 .text -----Original Message----- From: caml-list-admin@yquem.inria.fr = [mailto:caml-list-admin@yquem.inria.fr] On Behalf Of Frederic van der Plancke Sent: Wednesday, January 12, 2005 7:21 PM To: caml-list@yquem.inria.fr Subject: Re: [Caml-list] Mingw Ocaml-3.08.2 "Program too big to fit in memory"? Dominic Cooney wrote: > I built Ocaml-3.08.2 with Cygwin Mingw (all downloaded today) and all = of the > binaries (e.g. ocamlc.exe, ocaml.exe, ocamlopt.exe, etc.) report = "Program > too big to fit in memory". All of the opt.opt binaries (e.g. = ocamlc.opt, > etc.) and OcamlWin.exe seem to work fine (although OcamlWin can't = spawn > ocaml.exe, of course.) The machine has 2 GB physical memory and is = very > lightly loaded (page file usage is about .5 GB). Perhaps you have *too much* memory. Your situation reminds me of problem I've had with > 2GB disks and older installation programs who computed remaining disk space with 32 bit = integers and thus failed. OCaml maybe computes remaining memory with 31 bits so 1 = GB is the max (on 32 bit machines) ? Fr=E9d=E9ric vdP _______________________________________________ Caml-list mailing list. Subscription management: http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list Archives: http://caml.inria.fr Beginner's list: http://groups.yahoo.com/group/ocaml_beginners Bug reports: http://caml.inria.fr/bin/caml-bugs