I am not responding to the details of your message as I have not read it
carefully enough. However, I want to point out that a mapped file takes the
same space in your address space as a noun with the same data. Unless you
are mapping and unmapping, mapped files don't avoid 'out of memory' errors.
Depending on your host and configuration it may be that you can solve your
problem by increasing the size of your paging file.

On Wed, Dec 22, 2010 at 3:09 PM, Cox, Ed <[email protected]> wrote:

> I am trying to extend an existing function (for compatibility with a lot of
> code) so that when the data to be passed as output is beyond a certain size
> limit (to avoid "out of memory" errors) that it will create a mapped file
> and pass that as the output.  I had assumed this would work since passing
> mapped files as arguments to a verb works.  I assumed that if I assigned the
> output of the verb to a variable (noun) that it would then also be pointing
> to the mapped file.  When I tried this it does not appear to work - the
> variable assigned the value has no affect on the mapped file if it is given
> a new value, and the output of showmap_jmf_ does not list it.
>
> Is there any way to make this work?  Having to rewrite all my code to not
> obtain values via the output of verbs would really be a pain at this point.
>
> Thanks in advance,
> Ed Cox
>
> _________________________________________________
>
> This message is for the designated recipient only and may contain
> privileged, proprietary
> or otherwise private information. If you have received it in error, please
> notify the sender
> immediately and delete the original. Any other use of the email by you is
> prohibited.
>
> Dansk - Deutsch - Espanol - Francais - Italiano - Japanese - Nederlands -
> Norsk - Portuguese
> Svenska: www.carefusion.com/legal/email
>
> ----------------------------------------------------------------------
> 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