Sys V handling of insufficient swap space.

ron at vsedev.UUCP ron at vsedev.UUCP
Thu Mar 5 00:57:58 AEST 1987


In article <1078 at hoxna.UUCP> lou at hoxna.UUCP ( L. Marco ) writes:
>
>> < Sys5 doesn't handle running out of swap space well.  A program
>> that supposedly demonstrates this is provided >
>
>	First of all, your program won't run on many systems,
>hoxna included, because that huge auto array you allocate won't fit
>on the stack.  (We're not *all* running Amdahls, y'know).
>

Well after trying to compile the er um crash program on my Sys V.2
Altos 3068, I realized that I needed to move the large array
declaration out of local space and into global space, then it compiled
fine.

But the Altos eligantly handled the situation by returning a kernel
generated error message indicating that the system was incapable of
supporting the memory allocation request. So it turns out that at least
this system protects itself from this type of devistation.

--
ron at vsedev.VSE.COM	(Ron Flax)
UUCP:	..!seismo!vsedev!ron
INET:	vsedev.VSE.COM!ron at seismo.CSS.GOV



More information about the Comp.bugs.sys5 mailing list