* Memory-mapped arrays
@ 2007-11-07 22:06 Joel Reymont
2007-11-07 22:16 ` [Caml-list] " Bünzli Daniel
2007-11-07 22:23 ` Eric Cooper
0 siblings, 2 replies; 4+ messages in thread
From: Joel Reymont @ 2007-11-07 22:06 UTC (permalink / raw)
To: caml-list List
What is the right procedure to memory-map a file into a bigarray?
Thanks, Joel
--
http://wagerlabs.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Caml-list] Memory-mapped arrays
2007-11-07 22:06 Memory-mapped arrays Joel Reymont
@ 2007-11-07 22:16 ` Bünzli Daniel
2007-11-07 22:23 ` Joel Reymont
2007-11-07 22:23 ` Eric Cooper
1 sibling, 1 reply; 4+ messages in thread
From: Bünzli Daniel @ 2007-11-07 22:16 UTC (permalink / raw)
To: Joel Reymont; +Cc: caml-list List
Le 7 nov. 07 à 23:06, Joel Reymont a écrit :
> What is the right procedure to memory-map a file into a bigarray?
What do you mean the functions do not work ?
Daniel
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Caml-list] Memory-mapped arrays
2007-11-07 22:06 Memory-mapped arrays Joel Reymont
2007-11-07 22:16 ` [Caml-list] " Bünzli Daniel
@ 2007-11-07 22:23 ` Eric Cooper
1 sibling, 0 replies; 4+ messages in thread
From: Eric Cooper @ 2007-11-07 22:23 UTC (permalink / raw)
To: caml-list
On Wed, Nov 07, 2007 at 10:06:16PM +0000, Joel Reymont wrote:
> What is the right procedure to memory-map a file into a bigarray?
Bigarray.M.map_file, for M = Genarray, Array1, Array2, or Array3
--
Eric Cooper e c c @ c m u . e d u
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Caml-list] Memory-mapped arrays
2007-11-07 22:16 ` [Caml-list] " Bünzli Daniel
@ 2007-11-07 22:23 ` Joel Reymont
0 siblings, 0 replies; 4+ messages in thread
From: Joel Reymont @ 2007-11-07 22:23 UTC (permalink / raw)
To: Bünzli Daniel; +Cc: caml-list List
On Nov 7, 2007, at 10:16 PM, Bünzli Daniel wrote:
> What do you mean the functions do not work ?
Foot in mouth. I looked in the Bigarray module instead of ArrayX.
FYI, there's a bug that causes OCaml to run out of memory after
repeated mmaps of bigarray, logged by Markus Mottl back in 2006. It's
marked as "acknowledged" so I gather it's still not fixed.
Is this the case?
Thanks, Joel
--
http://wagerlabs.com
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2007-11-07 22:24 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-11-07 22:06 Memory-mapped arrays Joel Reymont
2007-11-07 22:16 ` [Caml-list] " Bünzli Daniel
2007-11-07 22:23 ` Joel Reymont
2007-11-07 22:23 ` Eric Cooper
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox