Windows 10 - Couldn't reserve space for cygwin's heap, Win32 error 0

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Windows 10 - Couldn't reserve space for cygwin's heap, Win32 error 0

7,002 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by avass on Fri Jul 31 17:34:41 MST 2015
I am using Windows 10 and LPCXpresso 7.9.0.455.

When I try building my project, I get the following in the Console:

02:25:12 **** Incremental Build of configuration Debug for project MyProject ****
make -r all
      0 [main] us 0 init_cheap: VirtualAlloc pointer is null, Win32 error 487
AllocationBase 0x0, BaseAddress 0x71110000, RegionSize 0x2C0000, State 0x10000
C:\NXP\LPCXpresso_7.9.0_455\lpcxpresso\msys\bin\make.exe: *** Couldn't reserve space for cygwin's heap, Win32 error 0

02:25:12 Build Finished (took 441ms)

Any ideas?

Thanks!
0 Kudos
3 Replies

3,309 Views
rnb
Contributor II

I'm using W10 and LPCXpresso v8.2.2 [Build 650] [2016-09-09] 

I've got the same issue today and followed up the tip to rename msys-1.0.dll into msys-1.0-alternate.dll.

I solve one problem but got another one: the IDE do not generate*.axf nor *.bin file anymore !!

Can someone help ?

here are my post-build steps:

arm-none-eabi-size "${BuildArtifactFileName}"
arm-none-eabi-objcopy -v -O binary "${BuildArtifactFileName}" "${BuildArtifactFileBaseName}.bin"
checksum -p ${TargetChip} -d "${BuildArtifactFileBaseName}.bin"

0 Kudos

3,309 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by avass on Sat Aug 01 02:30:36 MST 2015
D'oh!  Since this problem only showed up with my upgrade to Windows 10, that's what I searched for. Thanks, this indeed solved it.
0 Kudos

3,309 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by R2D2 on Fri Jul 31 18:00:29 MST 2015

Quote: avass
Any ideas?



Forum search?

https://www.lpcware.com/content/faq/lpcxpresso/virtual-alloc-pointer-null-error
0 Kudos