X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=0.7 required=5.0	tests=AWL,BAYES_00,DKIM_ADSP_CUSTOM_MED,FORGED_YAHOO_RCVD,FREEMAIL_FROM,KHOP_THREADED,NML_ADSP_CUSTOM_MED,RCVD_NUMERIC_HELO,SPF_HELO_PASS,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
To: cygwin@cygwin.com
From: Jordan <uptownb0y@yahoo.com>
Subject: Re: Shell script loop runs out of memory
Date: Thu, 31 May 2012 20:58:08 +0000 (UTC)
Lines: 21
Message-ID: <loom.20120531T225206-6@post.gmane.org>
References: <loom.20120531T193933-322@post.gmane.org>	<CANs8wdBYOBGsmp2iFSSOOd5FZ4qb3i3a-E2EM8LBbPKz=su5Pg@mail.gmail.com>	<786EBDA1AC46254B813E200779E7AD36023A42C2@srv1163ex1.flightsafety.com>	<loom.20120531T211830-607@post.gmane.org>	<4FC7C859.5050909@cs.umass.edu> <CANs8wdBdVfsMTCrosNt7TSJpccsCHRwFbQ8wmLpbFMCcLTUzHQ@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
User-Agent: Loom/3.14 (http://gmane.org/)
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

AZ 9901 <az9901 <at> gmail.com> writes:
> 
> Make an infinite loop with no fork, and look at the memory usage.
> Then, make an infinite loop with one fork and look at the memory
> 
> I really hope a solution will be found one day 
> 

Argh!  And I really like CygWin, so I was hoping to learn that this is 
resolvable.  

(Of course I could start uninstalling BLODA programs, but it's a fairly 
inconvenient solution.)

Maybe I'll just write a C program or Perl script to do the same thing.  
A Perl script won't run into the same forking issue, will it?  
(Assuming I use a Perl library to get the MD5 hash, rather than calling 
out to execute md5sum?)

Thanks guys...



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

