delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/05/03/18:05:28

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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
To: cygwin AT cygwin DOT com
From: Jani Tiainen <redetin AT luukku DOT com>
Subject: Re: side effects of Cygwin's maximum memory test
Date: Wed, 04 May 2005 01:02:18 +0300
Lines: 55
Message-ID: <d58s19$bi4$1@sea.gmane.org>
References: <d5819v$c8i$1 AT sea DOT gmane DOT org> <SERRANOHc9ny7BXx4XF000001c3 AT SERRANO DOT CAM DOT ARTIMI DOT COM>
Mime-Version: 1.0
User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)
In-Reply-To: <SERRANOHc9ny7BXx4XF000001c3@SERRANO.CAM.ARTIMI.COM>
X-IsSubscribed: yes

Dave Korn kirjoitti:
> ----Original Message----
> 
>>From: Jani Tiainen
>>Sent: 03 May 2005 15:26
> 
> 
>>Dave Korn kirjoitti:
> 
> 
>>>>On May  3 00:25, Utku Ozcan wrote:
>>>>
>>>>
>>>>>I *think* that the test below, which tests memory allocation limit of
>>>>>Cygwin *might* produce problems in Windows XP:
>>>>>
>>>>>http://sources.redhat.com/cygwin/cygwin-ug-net/setup-maxmem.html
>>>>>
>>>>>In this page, I have compiled the C code, and after having run the
>>>>>compiled executable, Windows XP gave suddenly a warning that virtual
>>>>>memory setting has been changed (I think, that repeated malloc() calls
>>>>>in this code somehow change the virtual memory settings in Windows
>>>>>XP).
> 
> 
>>>  Interestingly enough, there _is_ some kind of problem here.    I
>>>haven't been hit by any HD problem, but when I tried the test program,
>>>it gave me an ever-increasing series of values, and then suddenly
>>>stopped working altogether and wouldn't recover!
>>
>>Interesting enough.. I get consistent 1536MB allocation. But some times
>>maxmem freezes machine for a while... No leak detected..
> 
> 
>   I need to reboot to get my machine to work properly again!
> 
>   Is your machine set to allow windows to manage the paging file size?  I
> have a fixed allocation of exactly 2Gb, and have disabled the "System
> managed size" option; perhaps this is the difference between your machine
> and mine.  The pauses you describe certainly seem likely candidates for
> 'doze to be growing the pagefile.

Actually I've limits... 1152 start (current size), 2304 as max size... 
So can't be.

And I've 768MB memory which approx 256MB is used... So don't get it...

On first run I didn't have any limits set in registy, I got only 
1024MB... after setting limit to 2GB it hitted 1536MB... Not growing but 
pausing.. It even happened on 1024MB times... Maybe it swapped in/out 
something.

-- 

Jani Tiainen


--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019