X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:date:from:to:subject:message-id:reply-to
	:references:mime-version:content-type:in-reply-to; q=dns; s=
	default; b=EWW/YXIY5FpDWq6Dkt/nMw4qvPXMa4jA054/co6P2KXQkDUlTuOpo
	TZEBGOqDL5lPHzhcWcAnHcitm/2NJKxEX2RHnKeie5zeQ57mSkyHRxJyO8iUH87g
	Q7rVTNX3HrgSZ8w1tefSpiipTrcidIyLxW9hYuGU/lolWGhxyWKq0w=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:date:from:to:subject:message-id:reply-to
	:references:mime-version:content-type:in-reply-to; s=default;
	 bh=OooeIbRehTbVGKV2RyAwkL6oSEw=; b=DwD7GH4IsOQgKOE/NKX0s5wjjnrz
	LR1SLguIDYHztAiFTMijUmeklE4PcyHhmSrP6ihsC7+Ibo+bG+ziGmSS9yHv0dZd
	e5LV/lU8hLChcEAEaNpe52wVzIwW0uVCba44/KTv6z0rWt5KnXEv/BDDLetIn2/k
	py7Kx7A1FhoScoA=
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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-5.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2
X-HELO: calimero.vinschen.de
Date: Tue, 9 Dec 2014 12:01:44 +0100
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: Possible resource leak
Message-ID: <20141209110144.GH3810@calimero.vinschen.de>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <5486B88D.1040303@titera.eu>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;	protocol="application/pgp-signature"; boundary="e/gjZozG3RDP5HMW"
Content-Disposition: inline
In-Reply-To: <5486B88D.1040303@titera.eu>
User-Agent: Mutt/1.5.23 (2014-03-12)

--e/gjZozG3RDP5HMW
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Dec  9 09:53, Petr Tit=C4=9Bra wrote:
> Hello,
>=20
> I'm dealing with possible resource leak in cygwin on Windows-7. I'm runni=
ng
> a script which repeatedly calls another script (every 5 seconds). After a
> while script ends with memory error. All my memory seems to be eaten by P=
age
> Table entries and in the memory map I see a lot of cygwin processes with 4
> pages allocated (I can provide screenshot if neccessary). Is this known
> issue?

No.  Without knowing your script, here's a guess:  You're starting
background processes but you fail to wait for them to collect the
zombies.  If that's not the problem, see
https://cygwin.com/ml/cygwin/2014-12/msg00120.html and
https://cygwin.com/ml/cygwin/2014-12/msg00121.html


Corinna

--=20
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

--e/gjZozG3RDP5HMW
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBAgAGBQJUhtaYAAoJEPU2Bp2uRE+gpjgQAIOBTQuo41q9+mR1fiRexpoA
F8B1RTYdpDIPKF0c+WuzVQaGbV/R3djDqTfj6HfDmaTRCDbT88YsMTBxHQKMepBe
m1SV7rdqRi9grlydigEkp+ZPa7o+DGFATZ37TiXbiX7t3kNDvhfIUq3FYBk/HMjR
cadc9q+XKy5oaZmgUT8YUyaT8ZRcy+hH/sZQDyzCUoDxUnzQI4E3ptFrqHgYOGt1
vmaZfKUQt3k+tEBCNV1QiNXzJNaAD4rTscu0Bhw2RF2N6+02scX6adpwHrqSwGxJ
B2zalG66ZndbIuE6tqcWHZuGDg97S1pNue902vV64sCGY0v0dPUcCyb7rwEZmzd8
JOQqmHngjDdskZ5PSQTZx5Aqbtfh5D4wa5iTAdmp+j1RkqSY/QozDEQwdU/2lobh
RL6/8kfdUeGgwgn+tJPyvyx18GvJ4/ed2J7c5EAzXCxZZiAWeDCW44wYsbOX75+3
XiE1vEQ9BrGumno599HumgURgM/sL6NzZcnjwfEuI8wKRcLrixKgk5OCsdN/+cTc
bOo9BLqTygpCVkwfr9CkihB0hzHmcK574UADqqpQUwFI7HXsq7PLSCjwJvU4Jl+4
z5mBmKMT9mD0NobVLNdVruCD7F2L0FbId46vM8Saffjri0x5l0+/L8p+ZWB04nim
PmLzikaNwd87T74t3KQK
=2Uph
-----END PGP SIGNATURE-----

--e/gjZozG3RDP5HMW--
