delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/09/04/10:15:54

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
Date: Thu, 04 Sep 2008 08:14:22 -0600
From: Bernd Prager <bernd AT prager DOT ws>
To: cygwin AT cygwin DOT com
Subject: massive heap problems with cygwin 1.7.0
Message-ID: <f9eb178626948ef71baf2b636ee96364@prager.ws>
X-Sender: bernd AT prager DOT ws
User-Agent: RoundCube Webmail/0.1
X-Identified-User: {1020:box307.bluehost.com:pragerws:prager.ws} {sentby:smtp auth 69.89.31.107 authed with bernd+prager.ws}
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

Hi,

I am trying to make use of the UTF wide character support in cygwin 1.7 and
tried to give it a shot.
Until now I am almost unable to do anything because I constantly run into
heap problems, like:

5 [main] ? (5096) D:\bin\cygwin\bin\bash.exe: *** fatal error - couldn't
allocate heap, Win32 error 487, base 0x6D0000, top 0x7D0000, reserve_size
1044480, allocsize 1048576, page_const 4096
5 [main] -bash 4312 child_info::sync: wait failed, pid 5096, Win32 error 0
197 [main] -bash 4312 fork: child -1 - died waiting for longjmp before
initialization, retry 0, exit code 0x1000000, errno 11

I found in an old email that rebase would help, so I patched rebaseall to
make it work with 1.7:

109c109
<     grep -E "\.($Suffixes)\$" |
---
>     grep -E "\.($Suffixes)\$" | grep -v "cyglsa.dll" | grep -v
"cyglsa64.dll"

I also changed heap_chunk_in_mb to 2048 (decimal) in the registry.

$ ./max_memory 
5fffe000 bytes (1536.0Mb)

Is that a known bug?

Thanks for any help,
-- Bernd


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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