caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Garry Hodgson <garry@sage.att.com>
To: ocaml <caml-list@inria.fr>
Subject: [Caml-list] error opening large file
Date: Fri, 11 Jan 2002 16:02:37 -0500	[thread overview]
Message-ID: <3C3F52ED.2F4B0190@sage.att.com> (raw)


i get the following error when i open a large file (2561435180 bytes):

   let chan = open_in( "com.zone" );;
   Uncaught exception:
   Sys_error
   "com.zone: Value too large for defined data type".

is there a 2G file size limitation?  if so, why?
i found the same bug in erlang, though C is ok with it.

this is on redhat 7.1 running ocaml 3.02

thanks

-- 
Garry Hodgson                   Let my inspiration flow
Senior Hacker                      in token rhyme suggesting rhythm
Software Innovation Services    that will not forsake me
AT&T Labs                          'til my tale is told and done.
garry@sage.att.com
-------------------
Bug reports: http://caml.inria.fr/bin/caml-bugs  FAQ: http://caml.inria.fr/FAQ/
To unsubscribe, mail caml-list-request@inria.fr  Archives: http://caml.inria.fr


             reply	other threads:[~2002-01-11 21:02 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-01-11 21:02 Garry Hodgson [this message]
2002-01-11 21:51 ` Olivier Andrieu
2002-01-15  9:56 ` Xavier Leroy
2002-01-16  8:53   ` Florian Douetteau
2002-01-23 15:49     ` Xavier Leroy
2002-01-11 23:32 Florian Douetteau
2002-01-12  0:02 ` David Monniaux

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=3C3F52ED.2F4B0190@sage.att.com \
    --to=garry@sage.att.com \
    --cc=caml-list@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;
as well as URLs for NNTP newsgroup(s).