win git error init_cheap-VirtualAlloc pointer is null, Win32 error 487

win git error init_cheap:VirtualAlloc pointer is null, Win32 error 487

标签(空格分隔): git



在idea利用git进行代码更新时遇到的问题,google了一下,早StackOverflow找到解决办法,在此share一下

Error message

E:\storm-sql>git pull origin joeywen
  0 [main] us 0 init_cheap: VirtualAlloc pointer is null, Win32 error 487
AllocationBase 0x0, BaseAddress 0x68570000, RegionSize 0x2F0000, State 0x10000
C:\Program Files (x86)\Git\bin\sh.exe: *** Couldn‘t reserve space for cygwin‘s heap, Win32     error 0

原因分析:

Cygwin uses persistent shared memory sections, which can on occasion become corrupted. The symptom of this is that some Cygwin programs begin to fail, but other applications are unaffected. Since these shared memory sections are persistent, often a reboot is needed to clear them out before the problem can be resolved.

解决办法:

I had the same problem. I found solution here http://jakob.engbloms.se/archives/1403

c:\msysgit\bin>rebase.exe -b 0x50000000 msys-1.0.dll

For me solution was slightly different. It was

C:\Program Files (x86)\Git\bin>rebase.exe -b 0x50000000 msys-1.0.dll

Before you rebase dlls, you should make sure it is not in use:

tasklist /m msys-1.0.dll

If the rebase command fails with something like:

ReBaseImage (msys-1.0.dll) failed with last error = 6

You will need to perform the following steps in order:

-1. Copy the dll to another directory

-2.Rebase the copy using the commands above

-3.Replace the original dll with the copy.

参考:Git Extensions: Win32 error 487: Couldn’t reserve space for cygwin’s heap, Win32 error 0

时间: 2024-10-10 03:29:00

win git error init_cheap-VirtualAlloc pointer is null, Win32 error 487的相关文章

git android.google 源码:Unknown SSL protocol error in connection to code.google.com:443

想要提取android的源码.就必须要使用git.下面是本人安装的过程发生的问题: 1.1安装git.win的命令行的客户端(相当与svn的乌龟那样使用).http://git-scm.com/download/win 1.2.或者你用Eclipse的git插件也可以. 不过本文是用Git-1.8.0-preview. 1.3安装过程一直点下一步就好了. 2.安装完git.就找一个文件夹准备往网上拖拉别人的源码了. 2.1进入那个文件夹.首先第一步是把你这个文件夹初始化. 右键-->"Gi

VS2012 Microsoft Git Provider 无法push: "An error was raised by libgit2. Category = Net (Error)."

VS2012 Update 5 中使用Microsoft Git Provider作为插件,push时报错: An error was raised by libgit2. Category = Net (Error). This transport isn't implemented. Sorry 解决方法: git remote set-url origin https://github.com/username/reponame.git 来自:Git support for Visual

Git新建仓库时报:Win32 error 487

Git新建仓库时报:Win32 error 487: Couldn't reserve space for cygwin's heap, Win32 error 0 解决方法: 1.进入本地Git安装目录下的bin目录,比如我的是: C:\Users\zhangwwa\AppData\Local\Atlassian\SourceTree\git_local\bin 2.观察是否有rebase.exe和msys-1.0.dll两个文件,如果有,说明进入的目录正确 3.先执行 tasklist /m

CoreData____.sqlite options:(null) ... returned error Error Domain=NSCocoaErrorDomain Code=134100 "T

使用coreData存储数据的时候,运行app就报错CoreData____.sqlite options:(null) ... returned error Error Domain=NSCocoaErrorDomain Code=134100 "The operation couldn't be completed. (Cocoa error 134100.)". 解决办法:把模拟器里面的原来的app删除就可以了.运行OK.

VS2013下设置git同步,“出现了错误。详细消息: An error was raised by libgit2. Category = Net (Error).”。

前言: 这个错误耽误了我数个小时,终于解决,不知道为何VS官方在与github同步上面做得如此麻烦.希望能帮到大家. 出现了错误.详细消息: An error was raised by libgit2. Category = Net (Error).:发送请求时发生错误. 两种常见错误: 1. VS2012 Update 5 中使用Microsoft Git Provider作为插件,push时报错: An error was raised by libgit2. Category = Net

To ssh://xxx.com:8022/test/project.git ! [remote rejected] master -> master (pre-receive hook declined) error: failed to push some refs to 'ssh://xxx.com:8022/test/project.git'

To ssh://xxx.com:8022/test/project.git ! [remote rejected] master -> master (pre-receive hook declined)error: failed to push some refs to 'ssh://xxx.com:8022/test/project.git' 权限问题,项目创建者权限不够,需要maintainer或者owner 权限的人才能提交数据,提交完成后,可以修改项目的权限,打开以下路径projec

Win32 error code message

http://fit.c2.com/fit/files/LispPlatform/lisp/clisp-2.28/src/errwin32.d # Calls a function, passing it information about a Win32 error code. # get_OS_error_info(errcode,func); # > errcode: error code # > func: will be called with name and msg (if av

cocoapods遇到error: RPC failed; curl 56 SSLRead() return error -36问题

在安装cocoapods遇到的问题 [!] /usr/bin/git clone https://github.com/CocoaPods/Specs.git master Cloning into 'master'... error: RPC failed; curl 56 SSLRead() return error -36 fatal: The remote end hung up unexpectedly fatal: early EOF fatal: index-pack failed

\bin\sh.exe:*** Couldn't reserve space for cygwin's heap,Win32 error 0

Git一直使用都好好的,今天git pull的时候,报了如下的错误,\bin\sh.exe:*** Couldn't reserve space for cygwin's heap,Win32 error 0,经过百度之后获知这个问题是因为Cygwin 使用持久性的共享的内存段,有时可能会损坏.这症状是某些 Cygwin 程序开始失败了,但其他应用程序不受影响. 解决方法是:1.通过cmd进入git的rebase.exe所在目录,我的是在Local\GitHub\PortableGit_c2ba