[WXP]:fatal error - could n't allocate heap, Win32 error 487 (Was: Any plan to use Ant instead of cygwin/make???)

Kelly O'Hair Kelly.Ohair at Sun.COM
Mon Mar 31 16:23:07 UTC 2008


Thank you for passing this on.

I will add this link to the README-builds.html document, I filed a bug on this,
6682167.

Maybe I will add an entry on wikis.sun.com too...

-kto

Francis ANDRE wrote:
> Hi Kelly
> 
> I found what was the problem for the instability of cygwin under my WXP. 
> Since I have noticed some others mails or requests on the web related to 
> that problem (specially on vista), may be it would be interesting for 
> the build-dev mailing lists to share the following URLs:
> 
> http://cygwin.com/faq/faq.using.html#faq.using.bloda
> http://cygwin.com/acronyms/#BLODA
> 
> (I removed the Logitech webcam software with "Logitech process monitor" 
> service and after rebooting, there were no more any heap allocation error)
> 
> FA
> 
> 
> Kelly O'Hair a écrit :
>>
>>
>> Francis ANDRE wrote:
>>> Hi OpenJDK Team
>>>
>>>
>>> While trying to build OpenJDK on WXP SP2, I am facing to a recurrent 
>>> problem with cygwin that crashes because it could not allocate heap 
>>> space...
>>>
>>> $ make
>>>       7 [main] ? (232756) C:\Progra~1\cygwin\bin\sh.exe: *** fatal 
>>> error - could
>>> n't allocate heap, Win32 error 487, base 0x6D0000, top 0x6E0000, 
>>> reserve_size 61
>>> 440, allocsize 65536, page_const 4096
>>>
>>>
>>> This intermittent heap memory allocation problem is a recurent one 
>>> explained many times on the cygwin archives mailing list.
>>>
>>> Even with the suggested command explained in 
>>> http://www.cygwin.com/ml/cygwin/2005-11/msg00413.html
>>>
>>> regtool -i set /HKLM/Software/Cygnus\ 
>>> Solutions/Cygwin/heap_chunk_in_mb 2048
>>>
>>> make fails on a regular basis... even after the execution of a 
>>> rebaseall as stated in the cygwin mails.
>>>
>>>
>>>
>>>
>>> So, that's why I am wondering if you plan to use cpptasks and ant 
>>> script since using cpptask and the ant-contrib library could be a 
>>> viable alternative to avoid the cygwin unstability.
>>
>> No.
>>
>> I have never seen this cygwin problem before. Cygwin has been very stable
>> for me and nobody has reported any kind of problem like this.
>>
>> -kto
>>
>>>
>>> Regards
>>>
>>> FA
>>
>>



More information about the build-dev mailing list