X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=0.5 required=5.0	tests=AWL,BAYES_00,RCVD_NUMERIC_HELO,RP_MATCHES_RCVD,SPF_HELO_PASS
X-Spam-Check-By: sourceware.org
To: cygwin@cygwin.com
From: Heiko Elger <heiko_elger@arburg.com>
Subject: Re: [bash or DLL] Memory leak in childs
Date: Wed, 20 Jul 2011 04:54:57 +0000 (UTC)
Lines: 32
Message-ID: <loom.20110720T064133-605@post.gmane.org>
References: <loom.20110718T073757-2@post.gmane.org> <loom.20110718T083650-815@post.gmane.org> <loom.20110719T064243-907@post.gmane.org> <loom.20110719T092021-102@post.gmane.org> <loom.20110719T101702-272@post.gmane.org> <loom.20110720T032257-444@post.gmane.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
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

Mark Geisert writes:

> > int main(int argc, char** argv[])
> 
> (I won't point out the error in the above line.)
Oops ... 

> The good news is that I was then able to reproduce the issue without Cygwin.
OK - I was able to reproduce the issue too

 
> After 15 minutes, peak memory usage had gone from 227MB to 334MB and the
> system went haywire in the same fashion as before.  I rebooted again.
I start the batches with the following command (without /b):
   start test2.bat
about 10 times.
And after 7 minutes all batches are stopped with the following error:
"Für diesen Befehl ist nicht genügend Speicher verfügbar." (german WIN7)
==> "not enough memory for that command"

But the memory is freed again and win7/64 SP1 works fine. (just for information
- cause your system went haywire).

OK it really seems to be win7 problem.

I'm really glad to hear that this is not a cygwin error.

But thanks a lot for figuring that out.

heiko




--
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

