Subject: Re: bin/8681: grep may bomb out with "memory exhausted"
To: None <Havard.Eidnes@runit.sintef.no>
From: Simon Burge <firstname.lastname@example.org>
Date: 10/26/1999 09:23:13
> >Number: 8681
> >Category: bin
> >Synopsis: grep may bomb out with "memory exhausted"
> It appears that grep/egrep/fgrep use mmap() to read files but
> never releases the memory segments with munmap(), causing an ever
> increasing data segment (?) / virtual size, eventually bumping into
> resource limits.
> Two alternatives:
> o Turn off HAVE_MMAP in /usr/src/gnu/usr.bin/grep/config.h
> o Find a better solution (doesn't immediately look obvious)
With both this and bin/8461, seems like a very strong case to turn off
HAVE_MMAP. Any objections?