This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

massive heap problems with cygwin 1.7.0


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]