Date: Thu, 4 Oct 2001 22:02:20 +0300 From: Ruslan Ermilov <ru@FreeBSD.ORG> To: Mike Smith <msmith@FreeBSD.ORG> Cc: Guido van Rooij <guido@gvr.org>, freebsd-hackers@FreeBSD.ORG Subject: Re: grep memory footage Message-ID: <20011004220220.A17190@sunbay.com> In-Reply-To: <200110041849.f94InnE01299@mass.dis.org>; from msmith@FreeBSD.ORG on Thu, Oct 04, 2001 at 11:49:49AM -0700 References: <20011004180356.A76896@gvr.gvr.org> <200110041849.f94InnE01299@mass.dis.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Oct 04, 2001 at 11:49:49AM -0700, Mike Smith wrote: > > > > When fgrepping a huge file (say 10GB) for a non-existing string, > > fgrep's memory size skyrockets. At a certain point in time its SIZE was 391M > > (RSS was about 30MB) and the system got rather unreponsive. The > > string was about 12 bytes big, and we fail to see why grep would > > need so much. > > > > Is there a good explanation for this? > > It's a known bug in grep; there are probably a bunch of PRs outstanding > on it. We need grep to be updated. > The sad thing is that GNU Grep has recently lost his maintainer. Let me know if you want additional details. Cheers, -- Ruslan Ermilov Oracle Developer/DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011004220220.A17190>