For me there's no different bahaviour at all. I killed the grep when it was
clearly over the limit I set.
But for the following program there was a change:
#include <stdio.h>
#define K 1024
#define M (1020*K)
#define N 128
char a[N*M];
main()
{
long i;
for(i=0;i<(N*M);i++)
a[i]=i%100;
}
Instead of killing my machine it dumps core. Not exactly what it should do
but better than killing the system :-)
BTW this program is the one my collegue uses to kill my machine from time to
time.
Michael
-- Michael Meskes | _____ ________ __ ____ meskes@informatik.rwth-aachen.de | / ___// ____/ // / / __ \___ __________ meskes@sanet.de | \__ \/ /_ / // /_/ /_/ / _ \/ ___/ ___/ meskes@debian.org | ___/ / __/ /__ __/\__, / __/ / (__ ) Use Debian Linux! | /____/_/ /_/ /____/\___/_/ /____/