Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: Frederic van der Plancke <fvdp@decis.be>
To: caml-list@yquem.inria.fr
Subject: Re: [Caml-list] Mingw Ocaml-3.08.2 "Program too big to fit in memory"?
Date: Wed, 12 Jan 2005 09:20:44 +0000	[thread overview]
Message-ID: <41E4EBEC.740BCDB7@decis.be> (raw)
In-Reply-To: <1105487373.15665@mx68.mysite4now.com>

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


  reply	other threads:[~2005-01-12  9:19 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-11 23:46 Dominic Cooney
2005-01-12  9:20 ` Frederic van der Plancke [this message]
2005-01-12 10:59   ` [Caml-list] " Dominic Cooney
2005-01-12 11:29 Dominic Cooney
2005-01-13 11:11 ` Dominic Cooney

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=41E4EBEC.740BCDB7@decis.be \
    --to=fvdp@decis.be \
    --cc=caml-list@yquem.inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox