Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-Id: <4.3.1.2.20010104103013.0225a758@pop.ma.ultranet.com> X-Sender: lhall AT pop DOT ma DOT ultranet DOT com X-Mailer: QUALCOMM Windows Eudora Version 4.3.1 Date: Thu, 04 Jan 2001 10:33:00 -0500 To: "Rist, Mark J." , "'cygwin AT cygwin DOT com'" From: "Larry Hall (RFK Partners, Inc)" Subject: Re: Using large memory segments with a telnet session In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" At 09:53 AM 1/4/2001, Rist, Mark J. wrote: >Thanks to the archive of this mailing list, I have discovered that you can >use large memory segments with cygwin by modifying the registry key: > >HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin > >and adding the value heap_chunk_in_mb (DWORD set to max memory amount). > >The problem that I am having is that I am logged into a machine via telnet >using >the inetutils. It appears that the registry setting is ignored for telnet >sessions. So >I can't run large memory programs when logged in remotely. > >The problem may be exaggerated by the fact that I am using roaming profiles >and the registry for the user I am logging in as is stored remotely. > >I have tried several things to no avail: >1. Setting HKLM\Software\Cygnus Solutions\Cygwin\heap_chunk_in_mb >I thought this might work since system wide mount points seem to be working >and these are set under HKLM. Didn't work. Right. The code in registry.cc shows that only HKEY_CURRENT_USER is consulted. >2. Setting HKCU\Software\Cygnus Solutions\Cygwin\heap_chunk_in_mb for the >user running the inetd service. Nope. > >I am running out of ideas. I am fairly sure that I can recompile the >cygwin1.dll and >change the default heap size to get around this problem, but I would prefer >to >handle this as a configuration so that I don't have to recompile for every >release. >Any ideas? You could fix it at the source!;-) >Thanks > >P.S. Why is the default 128 Mb? This seems ridiculously small. You think that's small? It used to be smaller! Larry Hall lhall AT rfk DOT com RFK Partners, Inc. http://www.rfk.com 118 Washington Street (508) 893-9779 - RFK Office Holliston, MA 01746 (508) 893-9889 - FAX -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple