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 Date: Mon, 22 Mar 2004 09:31:48 +0100 From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com> To: Cygwin <cygwin AT cygwin DOT com> Subject: Re: Possible over allocation of memory resources by cygwin Message-ID: <20040322083148.GC17229@cygbert.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: Cygwin <cygwin AT cygwin DOT com> References: <405E0B72 DOT 9000501 AT gamma-rs DOT ch> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <405E0B72.9000501@gamma-rs.ch> User-Agent: Mutt/1.4.2i On Mar 21 22:38, Charles L. Werner wrote: > On both the Linux machine and Cygwin, top shows about 132 MB of space > needed, however, > the task manager shows an additional commit jumping from 196 to 483 MB > when the program starts. Not enough information. I created this exciting test application: #include <stdio.h> char i[132*1024*1024]; int main () { getchar(); return 0; } and started it under 1.5.9, casuing the commit charge going from 189 to 322 MB. So what? See http://cygwin.com/problems.html > Not only that, but the program runs about 3 times slower. (1500 sec vs 500 > sec(Linux)). Cygwin is emulating POSIX on top of Windows. You'd expect some slowdown for the overhead. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developer mailto:cygwin AT cygwin DOT com Red Hat, Inc. -- 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/