[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #20286] Memory leak when searching through big binary files
From: |
anonymous |
Subject: |
[bug #20286] Memory leak when searching through big binary files |
Date: |
Thu, 28 Jun 2007 08:54:07 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.3) Iceweasel/2.0.0.3 (Debian-2.0.0.3-1) |
URL:
<http://savannah.gnu.org/bugs/?20286>
Summary: Memory leak when searching through big binary files
Project: grep
Submitted by: None
Submitted on: Thursday 06/28/2007 at 08:54 UTC
Category: None
Severity: 3 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
Memory leak shows up when searching through big binary files.
This problem can be reproduced with current CVS. Just create a big binary
file and grep some string in it.
The problem was serious for me, because I was used to use "grep -r <string>
." to search through source trees. Now, this problem occoured with already
compiled object and binary files.
My current workaround (which is even faster ;) is to use '-I'.
Some additional notes:
- it doesn't matter if I used '--mmap' or not.
- it seems like the memory is freed after close, because many smaller binary
files (with -r) are working.
regards,
Ingo
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?20286>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug #20286] Memory leak when searching through big binary files,
anonymous <=