delorie.com/archives/browse.cgi | search |
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: | Joe Buehler <jbuehler AT hekimian DOT com> |
Subject: | Re: procps and top output |
Date: | Wed, 30 Apr 2003 13:00:33 -0400 |
Organization: | Spirent Communications, Inc. |
Lines: | 21 |
Message-ID: | <3EB00131.8090209@hekimian.com> |
References: | <b5q73k$ome$1 AT main DOT gmane DOT org> <LPEHIHGCJOAIPFLADJAHEEHMDHAA DOT chris AT atomice DOT net> |
Reply-To: | jbuehler AT hekimian DOT com |
Mime-Version: | 1.0 |
X-Complaints-To: | usenet AT main DOT gmane DOT org |
User-Agent: | Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.3) Gecko/20030312 |
X-Accept-Language: | en-us, en |
In-Reply-To: | <LPEHIHGCJOAIPFLADJAHEEHMDHAA.chris@atomice.net> |
X-Enigmail-Version: | 0.73.1.0 |
X-Enigmail-Supports: | pgp-inline, pgp-mime |
Chris January wrote: >>It's the output of "top", and yes, I see the problem too. The "size" >>column is always around 400 (+/-) MB, however large or small the process. >> >>The RSS size is correct - it matches the resident set size in the >>Windows task manager process display. It's only the "size" (== "VM size" >>in task manager?) that seems to be off. > > I noticed this when I was porting procps but I never had time to investigate > exactly why this is so. It might be because VM size also includes DLLs and > file mappings. I just noticed something that might be related to this (old) post. Cygwin reserves 400 MB of virtual memory, I assume for the heap. It commits only a little. So the large sizes shown by (e.g.) "top" are probably because they are memory that is "reserved", while memory that is "committed" is probably what is really wanted. -- Joe Buehler -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |