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: <42AE12E2.9FA67E0C@dessent.net> Date: Mon, 13 Jun 2005 16:12:34 -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> 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 Brian Dessent wrote: > You're using process explorer, not task manager, and process explorer > does not interact well with Cygwin for whatever reason. In this case it > seems the procexp is computing the VM size wrong. If you use task > manager and look at the "VM size" column it will be correct. You'll > have to take this up with sysinternals.com, it's not on topic for this > list. > > The "VM size" column is not a good measure of the actual memory used. > It does not correlate in any way to real memory, hence virtual. You > should consider the "working set" column if you want to know how much > memory a process is actually using. Just to clarify: taskman's "Mem usage" column == procexp's "Working set" column and this is the amount of memory that is actually being used by the process. taskman's "VM size" column == procexp's "Private bytes" column and this is the total amount of code+data that has been assigned to the process, though not all of it is necessarily in use. procexp's "virtual size" is simply a representation of the amount of virutal memory that has been allocated to the process. Virtual memory is not real memory and it only means that X number of pages have been allocated, it says absolutely nothing about the actual memory used by the process, and you should ignore it completely unless you have a specific reason to need to know about it. 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/