Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0004024OCaml~DO NOT USE (was: OCaml general)public2006-05-16 21:262007-02-21 16:19
Assigned Toxleroy 
PlatformOSOS Version
Product Version3.09.2 
Target VersionFixed in Version3.10+dev 
Summary0004024: Memory-mapping of bigarrays with offsets missing
DescriptionIt is currently impossible to memory-map file portions with a non-zero offset (64 bits would be required, too!) with the Bigarray module. This is quite unfortunate, because very large files that exceed the integer limits of OCaml on 32bit platforms are not fully accessible in a memory-mapped way then.

The current seek position of the file descriptor could eventually be consulted for that in the current code without changing the API. This would be a fairly trivial change.
TagsNo tags attached.
Attached Files

- Relationships
child of 0003790closedxleroy Wish: Bigarray.*.map_file should set an offset 

-  Notes
mottl (reporter)
2006-05-16 21:49

The mmap64 system call would have to be used if 64bit offsets should be supported.
berke (reporter)
2006-05-19 14:45

I second this. However Array*.sub can be used for small files.
xleroy (administrator)
2006-06-10 16:20

Tentative implementation in CVS trunk (Bigarray.*.map_subfile functions).
Windows implementation is untested and probably wrong.

- Issue History
Date Modified Username Field Change
2006-05-16 21:26 mottl New Issue
2006-05-16 21:49 mottl Note Added: 0003643
2006-05-19 14:45 berke Note Added: 0003646
2006-06-10 16:20 xleroy Note Added: 0003670
2006-06-10 16:20 xleroy Assigned To => xleroy
2006-06-10 16:20 xleroy Status new => resolved
2006-06-10 16:20 xleroy Resolution open => fixed
2006-06-10 16:29 xleroy Relationship added child of 0003790
2007-02-21 16:19 xleroy Status resolved => closed
2007-02-21 16:19 xleroy Fixed in Version => 3.10+dev
2017-02-23 16:36 doligez Category OCaml general => -OCaml general
2017-03-03 17:55 doligez Category -OCaml general => -(deprecated) general
2017-03-03 18:01 doligez Category -(deprecated) general => ~deprecated (was: OCaml general)
2017-03-06 17:04 doligez Category ~deprecated (was: OCaml general) => ~DO NOT USE (was: OCaml general)

Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker