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 Date: Thu, 4 Jan 2001 13:44:13 -0500 From: Christopher Faylor To: "'cygwin AT cygwin DOT com'" Subject: Re: Using large memory segments with a telnet session Message-ID: <20010104134413.B21062@redhat.com> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: "'cygwin AT cygwin DOT com'" References: <3A549C9C DOT F93B5160 AT yahoo DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.11i In-Reply-To: <3A549C9C.F93B5160@yahoo.com>; from earnie_boyd@yahoo.com on Thu, Jan 04, 2001 at 10:54:04AM -0500 On Thu, Jan 04, 2001 at 10:54:04AM -0500, Earnie Boyd wrote: >> Any ideas? >> > >Using the source I find: > > /* Note that reserving a huge amount of heap space does not result in > swapping since we are not committing it. */ > /* FIXME: We should not be restricted to a fixed size heap no matter > what the fixed size is. */ > > heap_chunk_in_mb = reg.get_int ("heap_chunk_in_mb", 128); > if (heap_chunk_in_mb < 4) > { > heap_chunk_in_mb = 4; > reg.set_int ("heap_chunk_in_mb", heap_chunk_in_mb); > } > >So if your program isn't finding the registry key then the heap_chunk is >4mb not 128mb. The default size is 128MB if there is no registry entry but if someone specifies less than 4MB, then default to 4MB. That's what this code is saying. cgf -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple