チケット #38356

MSYS make fails to compile project(couldn't commit memory for cygwin heap)

登録: 2018-06-26 17:13 最終更新: 2019-01-01 14:11

報告者:
担当者:
チケットの種類:
状況:
オープン [担当者決定済み]
コンポーネント:
マイルストーン:
(未割り当て)
優先度:
5 - 中
重要度:
5 - 中
解決法:
なし
投票
点数: 0
No votes
0.0% (0/0)
0.0% (0/0)

詳細

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.

添付ファイルリスト

添付ファイルはありません

チケットの履歴 (6 件中 3 件表示)

2018-06-26 17:13 更新者: kmilev
  • 新しいチケット "MSYS make fails to compile project(couldn't commit memory for cygwin heap)" が作成されました
2018-06-27 00:26 更新者: earnie
コメント

What is your virus protection software doing during this? If you can, eliminate the virus protection for your MinGW software and development directories to determine if it helps. There are other software that might cause this type of failure most of which are listed at https://cygwin.com/faq/faq.html#faq.using.bloda.

2018-06-27 15:08 更新者: kmilev
コメント

Reply To earnie

What is your virus protection software doing during this? If you can, eliminate the virus protection for your MinGW software and development directories to determine if it helps. There are other software that might cause this type of failure most of which are listed at https://cygwin.com/faq/faq.html#faq.using.bloda.

I have forgotten to mention this, i have also tried this with no avail. (none of this software works on the machine)

2018-06-27 23:38 更新者: earnie
  • 担当者(未割り当て) から cstrauss に更新されました
2018-06-27 23:39 更新者: earnie
コメント

I've assigned to Cesar to see if he has any comments.

2019-01-01 14:11 更新者: dinkc64
コメント

Hi, I also get this from time to time while (re)building a project - FBAlpha, https://github.com/barry65536/FBAlpha If anyone feels like trying to reproduce it, this should be all the info needed:

There are a couple of prereq's to get this to compile: nasm, from https://www.nasm.us/ (put exe in mingw/bin) DirectX 9 headers from the Windows DX DDK @ https://www.microsoft.com/en-us/download/details.aspx?id=6812 DDK doesn't need to be installed - just open the exe w/WinRAR (or other unpacker tool) and unpack the Includes directory into mingw/includes

now all that needs to be done is a "make mingw510" from the MingW shell. (if there is some other error, let me know - I might have forgotten something.) The "couldn't commit memory for cygwin heap" message happens in: 1: the older MingW w/gcc 4.8.1 from http://www.mingw.org/ 2: current MingW w/gcc 6.3.0 from https://osdn.net/projects/mingw/ (using the current mingw installer) 3: the above 6.3.0 version upgraded manually by downloading the gcc 8.2.0, binutils and a bunch of other files on https://osdn.net/projects/mingw/

Info about my computers: P4 3.0ghz, WinXP, 2gig ram w/AVG antivirus and Zonealarm. i7 2600 3.4ghz, Win7 8gig ram, Mcafee Virusscan Enterprise

編集

このチケットにコメントを追加するには、ログインが必要です » ログインする