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 From: "Dave Korn" <dave DOT korn AT artimi DOT com> To: <cygwin AT cygwin DOT com> Subject: RE: side effects of Cygwin's maximum memory test Date: Tue, 3 May 2005 15:37:50 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit In-Reply-To: <d5819v$c8i$1@sea.gmane.org> Message-ID: <SERRANOHc9ny7BXx4XF000001c3@SERRANO.CAM.ARTIMI.COM> X-OriginalArrivalTime: 03 May 2005 14:37:49.0928 (UTC) FILETIME=[AE413680:01C54FED] ----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. cheers, DaveK -- Can't think of a witty .sigline today.... -- 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/