Matthew Brand wrote:
> I originally asked this on general as part of a discussion about using
> J64 on Linux under VMWare Fusion on a MacBook Pro, but it might be
> better suited to the programming forum.

Yes - questions on using J should go to programming; questions on
installing J to general.

> In Ubuntu, System Monitor->Resources->Memory I have got 2.8 GB of free
> memory indicated. Should I be able to create a 2GB mapped file inside
> the 64 bit VAS? I.e. should the code below work? Also, does the amount
> of free memory matter anyway? Can mapped files be larger than the
> amount of physical memory? I thought that with J64 I would be able to
> (if I had enough disk space and time) create a mapped variable of size
> 2^64 bytes, is that untrue?

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. Since you need some RAM
for the rest of your work, the maximum mapped file size is usually quite
a bit less than available RAM.

Since you could not create a mapped variable of size larger than RAM,
then for larger mapped files, you would need to modify the map verb to
map only a part of the file.

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

Reply via email to