Browse thread
[Caml-list] Limits for Bigarray.Array?.map_file
- Christoph Bauer
[
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: | 2004-05-18 (17:13) |
From: | Christoph Bauer <c_bauer@i...> |
Subject: | [Caml-list] Limits for Bigarray.Array?.map_file |
Hi, I have to do some work with really huge files (>1GB). Bigarray.Array1.map_file works fine and very fast for small and medium sized files, but virtual memory is limited. (On windows AFAIK 2GB). Is there a way to specify an offset to the given file (e.g. with a seek command) to make several Bigarrays of one file? What is a realistic limit of the size for such a Bigarray? Are there known differences between Unix/Windows? A 64 bit processor is not a solution. Thanks for any enlightenment, Christoph Bauer -- let () = let rec f a w i j = Printf.printf "%.20f\r" a; let a1 = a *. i /. j in if w then f a1 false (i +. 2.0) j else f a1 true i (j +. 2.0) in f 2.0 false 2.0 1.0 ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners