<[EMAIL PROTECTED]> writes:
>hey,
>
>I've been having memory difficulties on OMVS - perl displays an 'Out of memory'
>error on a data structure that ends up being only 18 meg on a unix box.

I no longer have access to MVS machine, but when I did I updated the
comments in README.os390 to reflect my discoveries:

"
Recent perl test suite is quite memory hunrgy. In addition to the comments
above on memory limitations it is also worth checking for _CEE_RUNOPTS
in your environment. Perl now has (in miniperlmain.c) a C #pragma
to set CEE run options, but the environment variable wins.

The C code asks for:

 #pragma runopts(HEAP(2M,500K,ANYWHERE,KEEP,8K,4K) STACK(,,ANY,) ALL31(ON))

The important parts of that are the second argument (the increment) to HEAP,
and allowing the stack to be "Above the (16M) line". If the heap
increment is too small then when perl (for example loading unicode/Name.pl) tries
to create a "big" (400K+) string it cannot fit in a single segment
and you get "Out of Memory!" - even if there is still plenty of memory
available.


"

>
>Any clue on what's going on?  Or how you could change the config of the box
>to handle larger memory structures?
>
>Thanks much,
>
>Ed
--
Nick Ing-Simmons
http://www.ni-s.u-net.com/



Reply via email to