delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/08/08/10:41:41

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Message-Id: <5.1.0.14.2.20020808073257.01f9e650@pop3.cris.com>
X-Sender: rrschulz AT pop3 DOT cris DOT com
Date: Thu, 08 Aug 2002 07:36:16 -0700
To: "Dylan Cuthbert" <dylan AT q-games DOT com>, cygwin AT cygwin DOT com
From: Randall R Schulz <rrschulz AT cris DOT com>
Subject: Re: 256mb limit in cygwin - heap_chunk_in_mb not working?
In-Reply-To: <aitpn1$j1i$1@main.gmane.org>
References: <aidgav$c23$1 AT main DOT gmane DOT org>
Mime-Version: 1.0

Dylan,

"It worked for me." It was a long time ago, though, on a system far, far away.

Are you sure you're setting the correct registry entry? I noticed that in 
my registry the Cygwin keys appear in more than one place, perhaps because 
of the history of installations I've done or perhaps owing to one of those 
a per-user vs. system-wide registry things (I don't know a whole lot about 
the registry).

Randall Schulz
Mountain View, CA USA


At 05:57 2002-08-08, Dylan Cuthbert wrote:
>No replies to this for about a week and we're stumped at this end - does
>anyone know whether this cygwin registry key is *intended* to work or not?
>Is this a bug or simply an unimplemented feature?  Is it a limitation
>somewhere higher up (lower down) than cygwin (in the w32 process heap
>manager or something?)
>
>Ive seen plenty of mails regarding this and this is the only solution listed
>(no "it worked!" confirmation mails however).  I can't see what's wrong, I'm
>putting the registry key in the right place and everything, I've even logged
>in as administrator and made sure the key is set in that environment too.
>Has anyone allocated more than 256 megs in a cygwin compiled app?
>
>Regards
>
>---------------------------------
>Dylan Cuthbert.
>
>
>"Dylan Cuthbert" <dylan AT q-games DOT com> wrote in message
>news:aidgav$c23$1 AT main DOT gmane DOT org...
> > Hi all
> >
> > I have edited/created the DWORD registry entry heap_chunk_in_mb (the ls of
> > /proc/registry is below) and it reads 512 in regedit.
> >
> > I reboot but still a simple program that does new char[ 256 * 1024 * 1024 ]
> > will run out of memory.
> >
> > AFAIK I am using the recent versions of absolutely everything. (cygcheck
> > below)
> >
> > Any ideas what's going on, I want to run some memory intensive algorithmic
> > programs and can't because of this problem.
> >
> > Regards
> >
> > ---------------------------------
>Dylan Cuthbert


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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