#38356: MSYS make fails to compile project(couldn't commit memory for cygwin heap) Open Date: 2018-06-26 17:13 Last Update: 2019-12-11 17:46 URL for this Ticket: https://osdn.net//projects/mingw/ticket/38356 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=3917&tid=38356 --------------------------------------------------------------------- Last Changes/Comment on this Ticket: 2019-12-11 17:46 Updated by: darksectordds Comment: I have same issue when i tryed to compile gcc 8.2.0 through msys. Part of the log Checking multilib configuration for libgcc... mkdir -p -- psp/libgcc Configuring in psp/libgcc configure: creating cache ./config.cache ...<I deleted the extra data>... config.status: creating Makefile config.status: creating auto-target.h config.status: executing default commands Adding multilib support to Makefile in ../../../../gcc-8.2.0/libgcc multidirs= with_multisubdir= Mode = sf\|df Suffix = si\|2\|3 Mode = sf\|df Suffix = si\|2\ |3 Mode = sf\|df Suffix = si\|2\|3 Mode = sf\|df Suffix = si\|2\|3 Mode = sf\| df Suffix = si\|2\|3 Mode = sf\|df Suffix = si\|2\|3 Mode = sf\|df Suffix = si\ |2\|3 Mode = sf\|df Suffix = si\|2\|3 Mode = sf\|df Suffix = si\|2\|3 Mode = sf \|df Suffix = si\|2\|3 Mode = sf\|df Suffix = si\|2\|3 Mode = sf\|df Suffix = si\|2\|3 Mode = sf\|df Suffix = si\|2\|3 Mode = sf\|df Suffix = si\|2\|3 Mode = sf\|df Suffix = si\|2\|3 Mode = sf\|df Suffix = si\|2\|3 Mode = sf\|df Suffix = si\|2\|3 Mode = sf\|df Suffix = si\|2\|3 Mode = sf\|df Suffix = si\|2\|3 Mode = sf\|df Suffix = si\|2\|3 Mode = sf\|df Suffix = si\|2\|3 Mode = sf\|df Suffix = si\|2\|3 Mode = sf\|df Suffix = si\|2\|3 Mode = sf\|df Suffix = si\|2\|3 Mode = sf\|df Suffix = si\|2\|3 Mode = sf\|df Suffix = si\|2\|3 Mode = sf\|df Suffix = si\|2\|3 Mode = sf\|df Suffix = si\|2\|3 Mode = sf\|df Suffix = si\|2\|3 Mode = sf\|df Suffix = si\|2\|3 Mode = sf\|df Suffix = si\|2\|3 Mode = sf\|df Suffix = si\|2\|3 D:\MyTest2\MinGW\_base_\msys\1.0\bin\make.exe: *** couldn't commit memory for cygwin heap, Win32 error 0 make1: *** all-target-libgcc Error 1 make: *** all Error 2 --------------------------------------------------------------------- Ticket Status: Reporter: kmilev Owner: cstrauss Type: Issues Status: Open [Owner assigned] Priority: 5 - Medium MileStone: (None) Component: MSYS Severity: 5 - Medium Resolution: None --------------------------------------------------------------------- Ticket details: Hello, When i try to compile a project(big one) make always fails at some point with the following error: C:\MinGW\msys\1.0\bin\make.exe: *** couldn't commit memory for cygwin heap, Win32 error 0 after starting a build again it continues and finishes the build. However in some situations i can not "work around" this. This is the version of MSYS: C:\windows\system32>uname -a MINGW32_NT-6.1 BGHCZC5281GJ4 1.0.19(0.48/3/2) 2016-07-13 17:45 i686 Msys Version of MINGW: MINGW32_VERSION 5000002L I have tried several suggestions to correct the issue: 1.tried rebasing the msys-1.0.dll 2.tried rebaseall from rebase package 3.tried reinstalling mingw 4.tried setting max heap(peflags --cygwin-heap=2048 make.exe) from rebase package. 5.increased the vritual paging file to 20gb. 6.checked in PATH variable that only one MINGW path is listed. 7.upgraded mingw to latest libraries None of these made any difference. Please help. -- Ticket information of MinGW - Minimalist GNU for Windows project MinGW - Minimalist GNU for Windows Project is hosted on OSDN Project URL: https://osdn.net/projects/mingw/ OSDN: https://osdn.net URL for this Ticket: https://osdn.net/projects/mingw/ticket/38356 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=3917&tid=38356