Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <42AE3F9D.4E77E2F0@dessent.net> Date: Mon, 13 Jun 2005 19:23:25 -0700 From: Brian Dessent MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: question: high virtual memory usage References: <200506132245 DOT j5DMjhYm063267 AT relay1 DOT wplus DOT net> <42AE11C6 DOT 2B560356 AT dessent DOT net> <42AE12E2 DOT 9FA67E0C AT dessent DOT net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Report: -5.7/5.0 ---- Start SpamAssassin results * -3.3 ALL_TRUSTED Did not pass through any untrusted hosts * -2.6 BAYES_00 BODY: Bayesian spam probability is 0 to 1% * [score: 0.0000] * 0.2 AWL AWL: From: address is in the auto white-list ---- End SpamAssassin results X-IsSubscribed: yes Reply-To: cygwin AT cygwin DOT com Andrew DeFaria wrote: > That may be but it does represent the "footprint" of the process or at > least the amount of memory + swap reserved (doesn't it?). As such I seek > to minimize such usage. No, I don't think so. Taskman's "VM size" is what you are thinking of, and is what procexp calls "private bytes". This is the total footprint of the process. The working set is the amount of that that is currently resident, i.e. available without a page fault. Procexp's "virtual size" column seems to be a meaningless number that procexp somehow arrives at. It's not just cygwin processes that it seems to come up with outragiously high values for. On my system there is a svchost.exe process (part of the operating system) that uses 10,192KB working set and 10,400KB private bytes, but process explorer lists its "virtual size" as 143,260KB. Clearly this process is not using anywhere near 143MB of RAM. I really think you should ignore this column, it does not say anything useful. If I add up the total sizes of all the values of this column on my system, I get something like 7GB, and I only have 1GB of ram and 512MB of swap. Brian -- 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/