cancel
Showing results for 
Search instead for 
Did you mean: 

Compilation error: "*** Couldn't reserve space for cygwin's heap, Win32 error 0"

ABELA
Associate II

Compilation of any project almost always ends with this post. If you run the compilation several times, sometimes success comes. Basically, an error occurs when compiling images. What can I configure to avoid this error?

   0 [main] us 0 init_cheap: VirtualAlloc pointer is null, Win32 error 487

AllocationBase 0x0, BaseAddress 0x60EA0000, RegionSize 0x200000, State 0x10000

C:\TouchGFX\4.10.0\env\MinGW\msys\1.0\bin\echo.exe: *** Couldn't reserve space for cygwin's heap, Win32 error 0

simulator/gcc/Makefile:238: recipe for target 'BitmapDatabase' failed

make[1]: *** [BitmapDatabase] Error 1

simulator/gcc/Makefile:32: recipe for target 'all' failed

make: *** [all] Error 2

1 ACCEPTED SOLUTION
11 REPLIES 11
ABELA
Associate II

I completely re-installed the whole package TouchGFX twice. Same troubles.

Martin KJELDSEN
Chief III

Hi,

As @Pavel A.​ says it's an issue with msys. The trick is usually to change the order in which you have the folders that include msys.dll on your path, as far as i remember.

/Martin

The more prevalent advice is to REBASE the DLL on x64 systems

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..

Well clearly not an installation issue. Did you REBASE the DLL?

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..

I have only one msys.dll in my system. I use "find c: ...

Only in TouchGFX subfolder.

I try to change version of msys.dll - same troubles.

in PATH strings haven't any winGW or touchgfx paths.

How to make it? Now in my system dont have any rebase.exe.

Try to install winGit 64?

ABELA
Associate II

The problem is gone.

REBASE method is working. I used MS Studio editbin.exe.

“C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\amd64\editbin�? /rebase:base=0x50000000 msys-1.0.dll