This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Possible over allocation of memory resources by cygwin
- From: Corinna Vinschen <corinna-cygwin at cygwin dot com>
- To: Cygwin <cygwin at cygwin dot com>
- Date: Mon, 22 Mar 2004 09:31:48 +0100
- Subject: Re: Possible over allocation of memory resources by cygwin
- References: <405E0B72.9000501@gamma-rs.ch>
- Reply-to: cygwin at cygwin dot com
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@cygwin.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/