delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/06/21/05:51:07

X-Spam-Check-By: sourceware.org
From: "Dave Korn" <dave DOT korn AT artimi DOT com>
To: <cygwin AT cygwin DOT com>
References: <20070610115635 DOT M17897 AT edgar-matzinger DOT nl><011901c7aba8$d2d490f0$2e08a8c0 AT CAM DOT ARTIMI DOT COM> <1182411082l DOT 19411l DOT 0l AT nlxth001>
Subject: RE: Memory leakage?
Date: Thu, 21 Jun 2007 10:47:51 +0100
Message-ID: <063401c7b3e9$3b908f70$2e08a8c0@CAM.ARTIMI.COM>
MIME-Version: 1.0
X-Mailer: Microsoft Office Outlook 11
In-Reply-To: <1182411082l.19411l.0l@nlxth001>
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

On 21 June 2007 08:31, Edgar Matzinger wrote:

> Hi Dave,
> 
> On 06/10/2007 11:46:35 PM, Dave Korn wrote:
>> On 10 June 2007 13:00, Edgar Matzinger wrote:
>> 
>>> Hello list,
>>> 
>>>   I wonder if there is a memory leakage problem with the current cygwin
>>> release. After upgrading to it, and trying to compile Gnome (using
>>> garnome), the memory usage keeps increasing. Even after I've stopped
>>> the building process, the memory isn't freed up.
>> 
>>   How exactly are you measuring the memory usage of a process that no
>> longer exists, then?
> 
>   I'm using the windows task manager. 

  Stop right there.  The windows task manager doesn't display any statistics
for a process that no longer exists.  So, what you're looking at is a
statistic for the overall system.  Attributing it to cygwin is probably a
mistake.

  Exactly *which* statistic is changing?

> Furthermore, I've noticed that
> the system is unable to start new processes, when memory is exhausted
> and the garnome build process has crashed....
> 
> This *looks* like a memory leak to me.

  Yes, but it's not cygwin.  Cygwin programs are basically just windows
programs like any other.  When the process terminates, the operating system
frees all the memory it has allocated.  There's absolutely no way it can leak
memory.

  A faulty anti-virus, device driver, or other component that operates at the
kernel level of the OS, on the other hand, most certainly can.  Does disabling
the on-access file scanning of your AV help any?

    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....


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