...so what *is* the proper way to increase the size of a mapped file
with structure? Delete and re-create?

On Mon, Aug 29, 2011 at 1:34 PM, Raul Miller <[email protected]> wrote:
> On Mon, Aug 29, 2011 at 2:02 AM, Steven Taylor <[email protected]> wrote:
>> I tried a quick experiment where I thought I would create a mapped file,
>> allocate maximum, close the file, expand the file, and then reoppen it.  My
>> assumption was that when the file was reopenned that I'd be able to allocate
>> two more values (each value takes 8 bytes).  However, instead I get an 'bad
>> jmf header' error.  Is this just an assertion (i.e. people wont normally do
>> this), or is there an underlying reason why I shouldn't do it this way?
>
> jdatafn3 is a file with structure.  For example, you could have done:
>   jdata3 =. i.5 5 5
> instead of
>   jdata3 =. i.125
>
> So J has to have a description of that structure contained in the file.
>
> --
> Raul
> ----------------------------------------------------------------------
> 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