增加 Cygwin 的内存分配
我刚刚向本地 git 存储库添加了大量图像。因此,当我尝试推送到我们的远程存储库时,我收到错误:
fatal: out of memory, malloc failed76)
我的假设是这是由于分配给 Cygwin 的内存不足所致。我尝试按照这些说明来增加 Cygwin 的内存但我找不到它提到的注册表项。
有人有什么建议吗?
I just added a ton of images to my local git repo. As a result, when I try to push to our remote repo, I get the error:
fatal: out of memory, malloc failed76)
My hypothesis is that this is due to a lack of memory allocated to Cygwin. I've tried to increase Cygwin's memory by following these instructions but i can't find the registry entries it mentions.
Anyone have any advice?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我编译了他们在网站上的示例程序,没有对我的系统进行任何修改,我得到了这样的结果:
看起来不错,并且超过了他们提到的 384MB 最大值。也许此文档适用于旧版本的 cygwin。
但请注意,我使用的是较新的 cygwin 1.7。
如果密钥不存在,您可以创建它们,但文档再次看起来很旧。
HKLM/Software/Cygwin 似乎是新的注册表项
I compiled the example program they have on the site without making any modifications to my system, and I get this:
Which looks right, and is more than the 384MB maximum that they mention. Perhaps this documentation is for an older version of cygwin.
Note however that I am using the newer cygwin 1.7.
If the keys don't exist you could create them, but once again the documentation looks old.
HKLM/Software/Cygwin seems like the new regkey