delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/01/04/14:56:00

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
X-Apparently-From: <earnie?boyd AT yahoo DOT com>
Message-ID: <3A54D549.CA3DFAB1@yahoo.com>
Date: Thu, 04 Jan 2001 14:55:53 -0500
From: Earnie Boyd <earnie_boyd AT yahoo DOT com>
Reply-To: cygwin AT cygwin DOT com
X-Mailer: Mozilla 4.76 [en] (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Using large memory segments with a telnet session
References: <C12E8508FB1BD211BDFD00A0C9C75B6102296C61 AT xcgal005 DOT al DOT essd DOT northgrum DOT com> <3A549C9C DOT F93B5160 AT yahoo DOT com> <20010104134413 DOT B21062 AT redhat DOT com>


Christopher Faylor wrote:
> 
> 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.
> 

I figured that out after reading Jeff's post, however I haven't had time
to correct myself sorry.

Cheers,
Earnie.

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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