Build problem... 'couldn't reserve space for cygwin's heap'
Posted: Fri Oct 16, 2020 3:36 pm
Suddenly I'm getting the following build error from NBIDE:
-------------------------------------------------------------------------------------------------
14:42:03 **** Auto Build of configuration Release for project burnin ****
make -j12 all
0 [main] us 0 init_cheap: VirtualAlloc pointer is null, Win32 error 487
AllocationBase 0x0, BaseAddress 0x71110000, RegionSize 0x4B0000, State 0x10000
C:\nburn\gcc\msys\1.0\bin\sh.exe: *** Couldn't reserve space for cygwin's heap, Win32 error 0
make: *** [src/subdir.mk:27: src/main.o] Error 1
"make -j12 all" terminated with exit code 2. Build might be incomplete.
-------------------------------------------------------------------------------------------------
This had all been working fine, but recently I installed some software - Python 3.8 and the MSVC++ redistributable seem likely culprits - and now I'm getting this error. I've seen posts with similar problems in the forums but nothing that's helped me fix it.
I tried re-installing NNDK (I did not delete or uninstall anything first). Now my nburn paths are all first, but I still get the error.
I tried building from the command line... I opened a command prompt and set the path to c:\nburn and then ran setenv.bat but still failure:
-------------------------------------------------------------------------------------------------
C:\Users\jayk\work\projectx\netburner\burnin\Release>setenv.bat
C:\Users\jayk\work\projectx\netburner\burnin\Release>path=C:/nburn/gcc/bin;C:/nburn/pcbin;C:/nburn/gcc/msys/1.0/bin;c:\nburn
C:\Users\jayk\work\projectx\netburner\burnin\Release>set NNDK_ROOT=C:/nburn
C:\Users\jayk\work\projectx\netburner\burnin\Release>set DEFPLATFORM=MOD5441X
C:\Users\jayk\work\projectx\netburner\burnin\Release>set PLATFORM=MOD5441X
C:\Users\jayk\work\projectx\netburner\burnin\Release>path
PATH=C:/nburn/gcc/bin;C:/nburn/pcbin;C:/nburn/gcc/msys/1.0/bin;c:\nburn
C:\Users\jayk\work\projectx\netburner\burnin\Release>make
0 [main] us 0 init_cheap: VirtualAlloc pointer is null, Win32 error 487
AllocationBase 0x0, BaseAddress 0x71110000, RegionSize 0x4B0000, State 0x10000
C:\nburn\gcc\msys\1.0\bin\mkdir.exe: *** Couldn't reserve space for cygwin's heap, Win32 error 0
make: *** [C:/nburn/make/boilerplate.mk:294: nblibs/release/nbrtos/source/release_tagdata.o] Error 1
-------------------------------------------------------------------------------------------------
Anything else to try? I need to get this working again.
-------------------------------------------------------------------------------------------------
14:42:03 **** Auto Build of configuration Release for project burnin ****
make -j12 all
0 [main] us 0 init_cheap: VirtualAlloc pointer is null, Win32 error 487
AllocationBase 0x0, BaseAddress 0x71110000, RegionSize 0x4B0000, State 0x10000
C:\nburn\gcc\msys\1.0\bin\sh.exe: *** Couldn't reserve space for cygwin's heap, Win32 error 0
make: *** [src/subdir.mk:27: src/main.o] Error 1
"make -j12 all" terminated with exit code 2. Build might be incomplete.
-------------------------------------------------------------------------------------------------
This had all been working fine, but recently I installed some software - Python 3.8 and the MSVC++ redistributable seem likely culprits - and now I'm getting this error. I've seen posts with similar problems in the forums but nothing that's helped me fix it.
I tried re-installing NNDK (I did not delete or uninstall anything first). Now my nburn paths are all first, but I still get the error.
I tried building from the command line... I opened a command prompt and set the path to c:\nburn and then ran setenv.bat but still failure:
-------------------------------------------------------------------------------------------------
C:\Users\jayk\work\projectx\netburner\burnin\Release>setenv.bat
C:\Users\jayk\work\projectx\netburner\burnin\Release>path=C:/nburn/gcc/bin;C:/nburn/pcbin;C:/nburn/gcc/msys/1.0/bin;c:\nburn
C:\Users\jayk\work\projectx\netburner\burnin\Release>set NNDK_ROOT=C:/nburn
C:\Users\jayk\work\projectx\netburner\burnin\Release>set DEFPLATFORM=MOD5441X
C:\Users\jayk\work\projectx\netburner\burnin\Release>set PLATFORM=MOD5441X
C:\Users\jayk\work\projectx\netburner\burnin\Release>path
PATH=C:/nburn/gcc/bin;C:/nburn/pcbin;C:/nburn/gcc/msys/1.0/bin;c:\nburn
C:\Users\jayk\work\projectx\netburner\burnin\Release>make
0 [main] us 0 init_cheap: VirtualAlloc pointer is null, Win32 error 487
AllocationBase 0x0, BaseAddress 0x71110000, RegionSize 0x4B0000, State 0x10000
C:\nburn\gcc\msys\1.0\bin\mkdir.exe: *** Couldn't reserve space for cygwin's heap, Win32 error 0
make: *** [C:/nburn/make/boilerplate.mk:294: nblibs/release/nbrtos/source/release_tagdata.o] Error 1
-------------------------------------------------------------------------------------------------
Anything else to try? I need to get this working again.