Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] error opening large file
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Garry Hodgson <garry@s...>
Subject: [Caml-list] error opening large file

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

   let chan = open_in( "" );;
   Uncaught exception:
   " 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


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.
Bug reports:  FAQ:
To unsubscribe, mail  Archives: