Jack Andrews wrote:
>> The jmf script in the current library supports both 32 and 64 bit.
>>
>> However, jmf maps the entire file and this requires that the file size
>> be at least no greater than the available RAM.
> 
> is this true? or is it only true on mac/fusion?
> 
> one of the features of a virtual address space is that a process can
> allocate memory and map files greater than size of RAM.  on a 64-bit
> process you can map a huge file.
> 
> but i don't know if j64 permits this.

To clarify, jmf is a utility script that calls the mapping api. As such,
the facilities available from J are the same as for any other language.
Also, they are essentially the same on each platform.

When a file is mapped, the view (size) of the map must fit in RAM.
However, the map verb in jmf has been written so that the view is all
the file, hence the map verb requires that the file size be less than
available RAM.

Of course, the map verb could be enhanced to support partial views of a
file, and this would be a useful extension.

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to