Version française
Home     About     Download     Resources     Contact us    
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( "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