This is the mail archive of the cygwin 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: Possible over allocation of memory resources by cygwin


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/


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