cygwin的couldn’t allocate memory错误

编译时总碰到“couldn’t allocate cygwin heap”的错误,添加下列
内容

       regtool -i set /HKLM/Software/Cygwin/heap_chunk_in_mb 1024
       regtool -v list /HKLM/Software/Cygwin
       

http://www.cygwin.com/cygwin-ug-net/setup-maxmem.html
处获得

发表评论

此站点使用Akismet来减少垃圾评论。了解我们如何处理您的评论数据