buggrep - Bugs: bug #20286, Memory leak when searching through...


You are not allowed to post comments on this tracker with your current authentication level.

bug #20286: Memory leak when searching through big binary files

Submitted by:  None
Submitted on:  Thu 28 Jun 2007 08:54:06 AM UTC  
Category:  None Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open

Thu 28 Jun 2007 08:54:06 AM UTC, original submission:  

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.




No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


CC list is empty


Do you think this task is very important?
If so, you can add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.




No changes have been made to this item

Back to the top

Powered by Savane 3.7