The previously mentioned MAXASSIZE parameter and the ulimit -a shell command can help. See also the man page for dbx and build perl with -DDEBUGGING - if you dare. Note that adding the -g flag to c89 can create really large binaries.
For running a perl program under the perl debugger use:
perl -d myprogramname
See the perldebug.pod page for more information.
You might glean useful info from the /usr/include/limits.h header file too.
Peter Prymmer
[EMAIL PROTECTED]
ge.com To: [EMAIL PROTECTED]
cc:
03/19/2002 06:45
PM Subject: generic memory tracing
functions on OMVS
hey,
A related question -
Are there any generic memory debugging tools on OMVS - ones that show heap
allocations and stack allocations? And is there a simple code snippet that
can
simulate an 'out of memory' error to find the limits of the OS?
Thanks much,
Ed
