Error when Perl calling shell scipt using Cygwin >>> c:\cygwin\bin\sh.exe: *** fatal error - couldn't allocate heap, Win32 error 487

Gaurav Chhabra
Wed Jul 20 14:04:00 GMT 2011

2011/7/15 Gaurav Chhabra:
> Sorry, i forgot mentioning that i have attached the log files
> (perlrebase and main error that i am getting) for reference in my
> last post.

>> The perlrebase log looks good, but the other log indicates that you
need to do a rebaseall. rebaseall_log.txt fork_error_log.txt 
Hi Reini,

Thanks for your reply!

I tried running rebaseall. I faced few issues because of some DLLs. After
some Google,  I found out that the issue was because the DLLs were
read-only. Assigning proper permissions to those DLLs made it work. However,
the problem is that the fork issue still exists.

I have attached the log files for reference. 

Any suggestions?


View this message in context:***-fatal-error---couldn%27t-allocate-heap%2C-Win32-error-487-tp31714033p32099409.html
Sent from the Cygwin list mailing list archive at

Problem reports:
Unsubscribe info:

More information about the Cygwin mailing list