From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96078721911973.tru64-unix-managers.marc@archive.invalid> From: Bob Parkinson Date: Mon, 21 Sep 1998 14:39:45 +0000 To: tru64-unix-managers Subject: SUMM: perl5 out of memory signal? X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96078721911973 Thanks To Sam and Love. There is no such thing as an out of memory signal. THe msg. "Out of memory!" is coming from perl after a malloc fails. Need another way to handle this error then. Back to the drawing board. Thanks, Bob --- Sam Nelson This probably isn't a signal, but a failure of one of the brk()/sbrk() system calls done underneath a `malloc()' (or something like that) to extend the process data segment. There isn't a signal that relates directly to running out of data segment. Love perl does probably rightly check is return-value from malloc(3), and fail when malloc does (search for "Out of memory in the perl source[1]). [1] hummel:/src/languages/perl/5.004_01$ grep "Out of memory" *.c malloc.c: die("Out of memory during request for %i bytes", size); malloc.c: die("Out of memory!"); /* croak may eat too much memory. */ malloc.c: PerlIO_puts(PerlIO_stderr(),"Out of memory!\n");