#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-12 01:08 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-12 01:08 Updated by: darksectordds Comment: Launched via debug flag -d D:\MyTest2\MinGW\_base_\msys\1.0\bin\make.exe: *** couldn't commit memory for cygwin heap, Win32 error 0 Reaping losing child 0x0a090d10 PID 7316 make1: *** all-target-libgcc Error 1 Removing child 0x0a090d10 PID 7316 from chain. make1: Leaving directory /d/PSP/pspsdk_custom/minpsp-master/psp/build/gcc-8.2.0' Reaping losing child 0x0a03da10 PID 3316 make: *** all Error 2 Removing child 0x0a03da10 PID 3316 from chain. It looks like there is a memory leak or checked some limitation. --------------------------------------------------------------------- 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