buggrep - Bugs: bug #9886, 'memory exhausted' error on very...

 
 
Show feedback again

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

bug #9886: 'memory exhausted' error on very long lines

Submitted by:  None
Submitted on:  Wed 04 Aug 2004 06:10:43 PM UTC  
Votes:  150  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Open

Wed 19 Nov 2008 08:51:18 AM UTC, comment #4:

http://adultdatefinder.pornlivenews.com adult date finder
http://adultdatefinder.pornlivenews.com/articles/594899/find-sex-partner-in-your-arrea Find sex partner in your arrea
http://adultdatefinder.pornlivenews.com/articles/594896/asian-adult-date-finder asian adult friend finder
http://adultdatefinder.pornlivenews.com/articles/594894/speed-sex-date speed sex date
http://adultdatefinder.pornlivenews.com/articles/594891/adult-sex-dates adult sex dates

dima <dimon1>
Sat 11 Oct 2008 11:55:25 AM UTC, comment #3:

index of movies

Scuko <scuko>
Sun 13 Jul 2008 09:55:15 PM UTC, comment #2:

http://www.care2.com/c2c/share/detail/810629
http://www.care2.com/c2c/share/detail/811476
http://www.care2.com/c2c/share/detail/811363
http://www.google.com/base/a/4482110/D4193197164487732465
http://yedda.com/people/9511632417781/
http://yedda.com/people/6278019261663/

golakteko opasnoste <dayatakoy>
Fri 23 May 2008 09:35:57 AM UTC, comment #1:

I've just tested this example. I've not got any error, but the memory usage was about 84% during execution. It seems to me that bug was fixed.
____________________
mp3 download store

Scuko <scuko>
Wed 04 Aug 2004 06:10:43 PM UTC, original submission:

I've seen discussions and various patches on the web for this problem, but I'm wondering why it hasn't been fixed within the main source tree. I'm trying search the output of strings run on a hard drive image (dd). The output from strings includes several very long lines. It seems that when grep hits these lines, it is unable to load the entire line into memory and dies.

This can be tested as follows:
dd bs=1 seek=1000000000 of=bigFile < /dev/null
cat bigFile | grep "test"

It seems to me that grep needs to be smarter with it's memory allocation instead of assuming that it can always simply read up to a newline into memory.

Is any work being done on this or is there an alternative to grep that I should use instead?

Anonymous

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by dimon1 (Posted a comment)
  • -unavailable- added by dayatakoy (Posted a comment)
  • -unavailable- added by scuko (Posted a comment)
  •  

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

    Only logged-in users can vote.

     

    Please enter 421 here (basic anti-spam test):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 18 May 2007 01:33:51 PM UTCloischCarbon-Copy-=>Added loisch
    Wed 22 Nov 2006 02:42:36 PM UTCtwaughCarbon-Copy-=>Added twaugh
    Mon 11 Apr 2005 10:43:58 PM UTCjulianfoadSummary'memory exhasted' error on very long lines=>'memory exhausted' error on very long lines
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup