X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.0 required=5.0 tests=AWL,BAYES_20,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Date: Sat, 18 Dec 2010 22:51:18 +0100 From: Ulf-Dietrich Braumann Reply-To: braumann AT uni-leipzig DOT de To: cygwin AT cygwin DOT com Subject: Re: DWORD "heap_chunk_in_mb" and CYGWIN_NT-5.2-WOW64 In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 Hi, I need to revise my problem report some weeks ago. Actually, the "Changing Cygwin's Maximum Memory" explanations under http://www.cygwin.com/cygwin-ug-net/setup-maxmem.htm recommending something like regtool -i set /HKLM/Software/Cygwin/heap_chunk_in_mb 2048 regtool -v list /HKLM/Software/Cygwin do work under Windows Server 2003 64bit. And exactly, HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Cygwin is that place where the abovementioned regtool invocation will place "heap_chunk_in_mb". Sorry for having bothered you some time ago, I did something wrong that day (no idea what). The max_memory check program now returns 1792MB accessible memory. Regards - Ulf-Dietrich On Wed, 10 Nov 2010, Ulf-Dietrich Braumann wrote: > Hi, > > it is maybe no surprise that the advice for changing cygwin's maximum > memory given under http://www.cygwin.com/cygwin-ug-net/setup-maxmem.html > does not work under Windows Server 2003 64bit, i.e. the max_memory.c > check program always returns 1536MB available memory, no matter if I > place the DWORD "heap_chunk_in_mb" (I want 2048MB) in the > HKEY_LOCAL_MACHINE or the HKEY_CURRENT_USER registry branch. And yes, I > always have restarted the whole server to give cygwin a chance to read > the variable. > > During my search I have found some Cygwin entries in a branch > HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Cygwin, so I have tried to place > the "heap_chunk_in_mb" there, but got no effect. > > Does anybody know where to correctly place the DWORD "heap_chunk_in_mb" > on a Windows Server 2003 64bit running CYGWIN_NT-5.2-WOW64? > > Thanks a lot - Ulf-Dietrich > -- 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