This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: procps and top output


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]