| delorie.com/archives/browse.cgi | search |
| 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 |
| To: | cygwin AT cygwin DOT com |
| X-Injected-Via-Gmane: | http://gmane.org/ |
| Path: | not-for-mail |
| From: | "Dylan Cuthbert" <dylan AT q-games DOT com> |
| Subject: | Re: fixing heap_chunk_in_mb to 512MB doesn't work |
| Date: | Wed, 4 Sep 2002 19:10:17 +0900 |
| Lines: | 51 |
| Message-ID: | <al4m6f$7ij$1@main.gmane.org> |
| References: | <1031133455 DOT 17672 DOT 11 DOT camel AT SNCI-PC3-15 DOT grenoble DOT cnrs DOT fr> |
| NNTP-Posting-Host: | pppa77.kyoto-ip.dti.ne.jp |
| Mime-Version: | 1.0 |
| X-Trace: | main.gmane.org 1031134223 7763 210.159.246.77 (4 Sep 2002 10:10:23 GMT) |
| X-Complaints-To: | usenet AT main DOT gmane DOT org |
| NNTP-Posting-Date: | Wed, 4 Sep 2002 10:10:23 +0000 (UTC) |
| X-Priority: | 3 |
| X-MSMail-Priority: | Normal |
| X-Newsreader: | Microsoft Outlook Express 6.00.2600.0000 |
| X-MimeOLE: | Produced By Microsoft MimeOLE V6.00.2600.0000 |
Hello, can't help you but I had the same problem. Sometimes Cygwin's
configuration sits in different parts of the registry, have a look in
LOCAL_MACHINE\Software\..etc..
If you have any luck, let me know, I just had to give up for the time-being.
Regards
---------------------------------
Q-Games, Dylan Cuthbert.
http://www.q-games.com
P2P internet radio - http://www.peercast.org
"Christophe Trophime" <trophime AT grenoble DOT cnrs DOT fr> wrote in message
news:1031133455 DOT 17672 DOT 11 DOT camel AT SNCI-PC3-15 DOT grenoble DOT cnrs DOT fr...
> As far as I have understood allocation is limited to 128 MB
> in cygwin 1.3.12 but one can increased this limit by setting
> heap_chunk_in_mb registry key.
>
> I tried to fix this value to 512 Mb using :
> regtool set '\user\Software\Cygnus Solutions\Cygwin\heap_chunk_in_mb'
> 512
>
> But when I compile this little test program it fails (Aborted (cored
> dumped)):
>
> #include <iostream>
> using namespace std;
>
> int main(){
>
> char * tab_ptr = new char [256 * 1024 * 1024];
> if ( !tab_ptr ) {
> cerr << "Malloc failed\n";
> exit(1);
> }
> delete tab_ptr;
> return 0;
> }
>
> Thanks for your help
>
>
> --
> 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/
>
>
--
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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |