Browse thread
Mingw Ocaml-3.08.2 "Program too big to fit in memory"?
-
Dominic Cooney
- Frederic van der Plancke
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: | 2005-01-12 (09:19) |
From: | Frederic van der Plancke <fvdp@d...> |
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édéric vdP