delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/07/18/02:53:33

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS,TW_YG
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Mark Geisert <mark AT maxrnd DOT com>
Subject: Re: [bash or DLL] Memory leak in childs
Date: Mon, 18 Jul 2011 06:52:42 +0000 (UTC)
Lines: 35
Message-ID: <loom.20110718T083650-815@post.gmane.org>
References: <loom DOT 20110718T073757-2 AT post DOT gmane DOT org>
Mime-Version: 1.0
User-Agent: Loom/3.14 (http://gmane.org/)
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Heiko Elger writes:
> I just can confirm the same problem with latest cygwin1.dll
> (cygwin1-20110713.dll.bz2) on Windows 7/64 (fast XEON CPU).
> I've seen this problem while testing other "exiter" - problem
> with the following script.
[...]
> #!/bin/sh
> set -e
> while true; do
>    ./exiter.exe
> echo -n $?
> done
[...]
> The virtual memory (windows task manager) grows and grows over the time.
> 
> The cygwin eats all memory til no more available.
> But after alle cygwin processes are closed the memory is freed.

With respect, what you and the OP are seeing happens to be one of the primary
manifestations of BLODA.  Please show that you have ruled that out as a
possible cause; after that we can consider other explanations.

For example, run 'cygcheck -svr' and post its output, *as an attachment*, in
a followup post.  cygcheck checks for evidence of BLODA installations and is
the first step towards ruling out this possibility.  You could also visually
scan the list of apps in the link I posted earlier in this thread, just to
make sure you don't have one of these dodgy apps installed.

I believe my first problem report to this list several years ago was this
very observation about increasing virtual memory consumption for no good reason.
 In my case it was BLODA, an anti-virus program that I was luckily
able to configure to not scan the Cygwin installation tree.
HTH,

..mark


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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019