[1.7] Weird error "grep: writing output: Cannot allocate memory"

Dave Korn dave.korn.cygwin@googlemail.com
Mon May 4 20:00:00 GMT 2009


Christopher Faylor wrote:
> I made some changes to Cygwin's always-burgeoning console code which limit
> the number of characters transferred to the console.  Could you check if
> it still fails with these changes?

  That fixes both the cygwin-api testcase and the problems with grep.  I also
tested it with strings up to ten meg in size by running

perl -e 'print "A"x10000000' | grep 'AAA'

which fails with the current release DLL and completes successfully with the
newly built one.

  If only those fools upstream would open their source, we could have fixed
the underlying bug for them... ;-)

    cheers,
      DaveK

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list