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

Gaurav Chhabra
Mon May 30 09:48:00 GMT 2011

Thanks for your reply Reini!

I got hold of perlrebase from here:

Not sure whether this is the latest one. 

I have Perl separately installed at c:\Perl. I am not sure how to run this.
I just copied the prelrebase script and kept it in the Cygwin's bin
directory. Then I had to set the 'perl' variable in prelrebase script to
'perl=../../Perl/bin/perl$suff.exe' because my Cygwin is at c:\Cygwin. Now
when I ran the script with argument '5.6.1', I get the following error:
user@machine: /cygdrive/c/cygwin/bin
$ ./ 5.6.1
no archlib found for ../../Perl/bin/perl5.6.1.exe

I am not sure what this archlib is? I could not find it defined anywhere in
the perlrebase script. Can you please help me with this?

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

Problem reports:
Unsubscribe info:

More information about the Cygwin mailing list