delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/12/18/16:51:44

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 <braumann AT uni-leipzig DOT de>
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: <Pine.WNT.4.64.1011101210260.2128@zbpxnh.vmov.hav-yrvcmvt.qr>
Message-ID: <Pine.WNT.4.64.1012182238050.4700@zbpxnh.vmov.hav-yrvcmvt.qr>
References: <Pine DOT WNT DOT 4 DOT 64 DOT 1011101210260 DOT 2128 AT zbpxnh DOT vmov DOT hav-yrvcmvt DOT qr>
MIME-Version: 1.0
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
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

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

- Raw text -


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