Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Oct 2001 18:03:56 +0200
From:      Guido van Rooij <guido@gvr.org>
To:        freebsd-hackers@freebsd.org
Subject:   grep memory footage
Message-ID:  <20011004180356.A76896@gvr.gvr.org>

next in thread | raw e-mail | index | archive | help

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?

-Guido

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?20011004180356.A76896>