X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Tue, 12 May 2009 23:18:28 -0400 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: GREP: Memory Exhausted Message-ID: <20090513031828.GA32244@ednor.casa.cgf.cx> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <28A2EAFEF380B447AF9E3FBFA6387D3189704E525F AT AA-EXMSG-C425 DOT southpacific DOT corp DOT microsoft DOT com> <4A08ACDE DOT 9050805 AT gmail DOT com> <20090512010309 DOT GA8065 AT ednor DOT casa DOT cgf DOT cx> <4A08E207 DOT 1080402 AT gmail DOT com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4A08E207.1080402@gmail.com> User-Agent: Mutt/1.5.16 (2007-06-09) Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On Tue, May 12, 2009 at 03:42:15AM +0100, Dave Korn wrote: >Christopher Faylor wrote: >> On Mon, May 11, 2009 at 11:55:26PM +0100, Dave Korn wrote: >>> Some weeks ago... Shailesh Dadure wrote: >>>> I am a support engineer from Microsoft trying to help my Customer >>>> Maziyar Samadzadeh. We have been notified by Maziyar that when they >>>> perform a Query on a bigger database using GREP we get the following >>>> error >>>> >>>> GREP: Memory Exhausted >>> Just to tie up the loose ends of this thread, which kind of petered out >>> without any resolution: I've now notified Shailesh off-list about the >>> apparent bug we uncovered in the WriteConsole API(*), and suggested he >>> show the testcase around internally at Microsoft. I'll keep the list >>> posted if anything interesting transpires. >> >>It didn't really peter out. This is a well-known problem even on linux >>where it is trivially easy to trigger. It doesn't necessarily have >>anything to do with the console. >> >>http://www.cygwin.com/ml/cygwin/2009-04/msg00374.html > >Well, I couldn't trigger any kind of anomalous memory behaviour from >grepping through a few gigs of binary data with Cygwin grep-2.5.3-1; >usage stayed rock steady at around 3.5MB. So I took a guess that >Shailesh might have had the same problem that was giving me the same >symptom. Maybe with a bit of luck we can get the console fixed, you >never know. You apparently haven't taken the advice of googling the problem. It really is very easy to trigger on linux. cgf -- 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/