X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
Message-ID: <13018087.post@talk.nabble.com>
Date: Wed, 3 Oct 2007 05:38:29 -0700 (PDT)
From: wimxa <wimxa@yahoo.com>
To: cygwin@cygwin.com
Subject: RE: Huge memory leak, probably related to making new processes
In-Reply-To: <007a01c805aa$5f235770$2e08a8c0@CAM.ARTIMI.COM>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Nabble-From: wimxa@yahoo.com
References: <13006193.post@talk.nabble.com> <fdudpa$anu$1@sea.gmane.org> <13010714.post@talk.nabble.com> <loom.20071003T040816-588@post.gmane.org> <20071003043101.GA2486@ednor.casa.cgf.cx> <007a01c805aa$5f235770$2e08a8c0@CAM.ARTIMI.COM>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@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


Guys,

Thank you for the trouble of testing this. Unfortunately, I cannot confirm
whether this is a problem with any AV - I am not an admin on the machine in
question, cannot shut AV down. 

About the kernel memory figures - they are increasing - much slower and in a
very unpredictable see-saw way, but they are. In fact, I ran it the second
time after a while (without restarting the computer) and it slowly released
a great deal of the kernel memory it had "allocated" - quite strange
behavior - one time it increases, the next time it decreases - couldn't find
any pattern. 

At number 43500 (this must be hard-coded in Cygwin somewhere :)) the
"COUNTER test" (the last one Lewis also tried) died with:

  11831 [main] bash 3820 fork: child -1 - CreateProcessA failed, errno 11
bash: fork: Resource temporarily unavailable

Restarts would allow only at most a few more runs with the same error
following, e.g.:

136705676 [main] bash 3820 fork: child -1 - CreateProcessA failed, errno 11
bash: fork: Resource temporarily unavailable

I tried to restart Cygwin, but could not run it again (the same kind of
error on startup).

What I can do is test this on my home machine (yes, I should have done that
already - doh) in the evening and let you know if this occurring on it too -
I will shut down anything necessary to get the offender if it occurs there.
However, I am glad that this is not a Cygwin-only problem, based on two
independent tests.

Thanks again!
-- 
View this message in context: http://www.nabble.com/Huge-memory-leak%2C-probably-related-to-making-new-processes-tf4557470.html#a13018087
Sent from the Cygwin Users mailing list archive at Nabble.com.


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

