tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMM: perl5 out of memory signal?
@ 1998-09-21 14:39 Bob Parkinson
  0 siblings, 0 replies; only message in thread
From: Bob Parkinson @ 1998-09-21 14:39 UTC (permalink / raw)
  To: tru64-unix-managers

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");

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1998-09-21 14:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-09-21 14:39 SUMM: perl5 out of memory signal? Bob Parkinson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox