I think, but may be mistaken, that the mapped database lab shows how
to increase the size of a mapped file. The main point is that the file
must be unnapped, closed, resized, and then remapped. This is fairly
trivial for non-jmf files. For  jmf files you may (or may not) have
the additional complication of adjusting the header size value for the
allocated space. If this is necessary then code in jmf.ijs should show
the way. Some of the comments in the jmf file are a bit out of date
and in unix at least it is easier to use truncate to change the size.

On Mon, Aug 29, 2011 at 4:33 PM, Steven Taylor <[email protected]> wrote:
> Thanks Raul.  Much appreciated.  I think I read somewhere that the header
> has variable size, so I might stay away from doing that.  If the length
> value was closer to the start, probably not a bad option to modify it
> directly.  Good point on maintenance.  Perhaps there will be consequences
> for not having that guard assertion.  Probably it will be better to stick
> with whats been tested out by others for now.
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to