delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/10/03/08:38:50

X-Recipient: archive-cygwin AT delorie DOT 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 AT yahoo DOT com>
To: cygwin AT cygwin DOT 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
X-Nabble-From: wimxa AT yahoo DOT com
References: <13006193 DOT post AT talk DOT nabble DOT com> <fdudpa$anu$1 AT sea DOT gmane DOT org> <13010714 DOT post AT talk DOT nabble DOT com> <loom DOT 20071003T040816-588 AT post DOT gmane DOT org> <20071003043101 DOT GA2486 AT ednor DOT casa DOT cgf DOT cx> <007a01c805aa$5f235770$2e08a8c0 AT CAM DOT ARTIMI DOT COM>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

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/

- Raw text -


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