[erlang-questions] automatic garbage collection when low memo ry?
Thu Mar 27 17:38:25 CET 2008
I had meant to send this to the list.
> > -----Original Message-----
> > From: Robert Raschke [mailto:rtrlists@REDACTED]
> > Sent: Thursday, March 27, 2008 5:31 AM
> > To: Convey Christian J NPRI
> > Subject: Re: [erlang-questions] automatic garbage collection
> > when low memo ry?
> > On 3/26/08, Convey Christian J NPRI
> > <ConveyCJ@REDACTED> wrote:
> > > Does the Erlang runtime not check for a malloc() or 'new'
> > call returning NULL? If so, that seems kind of crazy.
> > Memory allocation is no longer as simple as that. At least on
> > Linux (not sure about Windows), malloc() can return you a
> > chunk of memory that doesn't really exist. Your program will
> > crash when it tries to use the memory and the access can not
> > be honored. A quick google found a bit of description here:
> > http://www.linuxdevcenter.com/pub/a/linux/2006/11/30/linux-out
> > -of-memory.html
> > Robby
More information about the erlang-questions