Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 Subject: Re: side effects of Cygwin's maximum memory test Date: Wed, 04 May 2005 01:02:18 +0300 Lines: 55 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) In-Reply-To: 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/