Malloc在Git克隆中失败 [英] Malloc Failed in Git Clone

查看:81
本文介绍了Malloc在Git克隆中失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Windows 7 64位上使用Git版本2.19.1.windows.1.

Using Git version 2.19.1.windows.1 on Windows 7 64 bit.

我正在尝试在 D:/Users/Della/Documents/Python_Scripts/

git clone https://gitlab.com/forkingpin/dui-dashboard.git

在git bash上.到目前为止,该存储库仅包含59字节的自述文件.我收到的错误消息为

on the git bash. The repository contains only a 59 bytes ReadMe so far. The error message I am getting reads

fatal: Out of memory, malloc failed (tried to allocate 1744830464 bytes)
fatal: not a git repository: 'D:/Users/Della/Documents/Python_Scripts/

出路是什么?

要注意的地方.

  • 同一命令在我的Linux桌面上像超级按钮一样工作
  • 在另一个存储库中推送已提交的更改(在Windows上)时,我遇到了类似的问题.我通过在.git/config后面加上

  • The same command is working like a charm on my Linux Desktop
  • I had a similar issue while pushing the committed changes (on windows) in another repository. I corrected that by appending .git/config with

[http]                                                         
      postbuffer = 5m

但这是针对现有存储库的.克隆配置文件之前,我无法使用它.

But that was for an existing repository. I cannot have the config file before I clone it.

推荐答案

尝试在设置了 查看全文

登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆