delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/08/06/21:32:32

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
X-Injected-Via-Gmane: http://gmane.org/
To: cygwin AT cygwin DOT com
From: Rolf Campbell <Endlisnis AT mailc DOT net>
Subject: Re: Win2k and cygwin memory leak
Date: Wed, 06 Aug 2003 21:31:50 -0400
Lines: 52
Message-ID: <bgsa5k$39n$1@main.gmane.org>
References: <3F30D849 DOT 8D2AA00C AT itsec-ss DOT nl>
Mime-Version: 1.0
X-Complaints-To: usenet AT main DOT gmane DOT org
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5b) Gecko/20030723 Thunderbird/0.1
X-Accept-Language: en-us, en
In-Reply-To: <3F30D849.8D2AA00C@itsec-ss.nl>

Well, you could look at the task manager to see where all the memory is 
going (you can enable current memory allocation per process columns).

Also, you could use 'ps' to see if old cygwin processes are still running.

R. Boon wrote:
> Hello list,
> 
> I noticed a problem with cygwin. It seems that some installations of
> cygwin running on windows 2000 are leaking memory. The memory leak is
> located in some kernel part of the operating system since it is not
> cleaned up after all user space applications are close. 
> 
> This issue is reported previously to the cygwin list. This issue is
> reported as a make failure:
> http://www.cygwin.com/ml/cygwin/2003-04/msg02219.html
> 
> And as an issue with fork:
> http://www.cygwin.com/ml/cygwin/2003-02/msg00551.html
> 
> I can confirm the reported symptoms. Every time I start a child process,
> I loos some memory. Once all my memory and swap is depleted, I cannot
> start new applications. Even closing running applications causes
> trouble. A reboot is needed to restore the system. 
> 
> As an additional symptom I get the following question when I quit
> cygwin. 
> Terminate batch job (Y/N)?
> 
> This seems to indicate that child processes are not terminated and/or
> completely removed from memory.
> 
> I tested this issue on four hosts
> 1. a Win2k SP4 with Cygwin 1.3.22 (128 Mb)
> 2. a Win2k SP4 with Cygwin 1.5.1 (128 Mb)
> 3. a Win2k SP4 with Cygwin 1.3.22 (192 Mb)
> 4. a Win2k SP4 with Cygwin 1.3.22 (256 Mb) <- not affected
> 
> Host nr. 4 is not affected by this issue. None of the tests lead to even
> the slightest sign of a memory leak. All systems are installed with the
> basic cygwin install using the setup.exe program from www.cygwin.com
> 
> Is there a solution to this issue that is never posted? Has anyone with
> the same issue tried to fiddle with a memory limit setting of some sort?
> (and did is work?)
> 
> Thank you for your time
> 
> greetings
> Rogier
> 



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