On Sat, Dec 10, 2005 at 08:34:42PM -0500, pryzbyj wrote:
> Please see <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=280187>
> where it is documented that grep -o uses increasing amount of memory,
> probably indicating a leak.  You can test with:
> 
>   grep '^c..........' /usr/share/dict/words >/tmp/words
>   ./build-tree/grep-2.5.1/src/grep -of /tmp/words /usr/share/dict/words
> 
> It seems to me that after each output, grep should return to the
> approximate memory usage as at the previous output.  However, the
> memory usage instead increases, consistent with the report.
On second thought, this was nearsighted.  Since grep -f leaks, grep
-of leaks.  grep -o seems to have been fixed since the report was
submitted.

-- 
Clear skies,
Justin


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to