X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.5 required=5.0 tests=AWL,BAYES_20 X-Spam-Check-By: sourceware.org Message-ID: <4BAA67BF.8040108@gmail.com> Date: Wed, 24 Mar 2010 19:27:59 +0000 From: Dave Korn User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: allocate heap space shell startup failure References: <20100324164031 DOT M12968 AT ds DOT net> <20100324173612 DOT GA18265 AT ednor DOT casa DOT cgf DOT cx> In-Reply-To: <20100324173612.GA18265@ednor.casa.cgf.cx> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 On 24/03/2010 17:36, Christopher Faylor wrote: > On Wed, Mar 24, 2010 at 12:23:56PM -0500, Brian Wilson wrote: >> I have [ ... ] Smart Ram >> Sometimes (about 50% of the time) when I try to start the Cygwin shell >> (bash), by double clicking the Cygwin icon, I get an error like the >> attached error file. > The error you're getting probably indicates that something allocated space > in a region of memory where a forked Cygwin process was expecting to > allocate the heap. Playing with heap_chunk_in_mb won't fix this > > There isn't a registry setting which will fix this. It's likely that > either McAfee, Smart Ram, or some other resident process is interfering. Yes, and I bet I know which. So-called "memory optimisers" are utter bullshit, fraudulent, non-functional, and actually impair the operation of your system. They /may/ have had some role in windows 3.11, before there was real virtual memory in the OS, but since then.... they are just cargo cult superstition. In particular, randomly allocating vast blocks of memory will completely destroy the operation of fork(). Get the hell rid of it. cheers, DaveK -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple