git fails from IntelliJ on Windows 10 with fork: can't reserve memory for parent stack
<p>I'm not sure what the cause for this problem, but git fails since I upgraded to Windows 10, from IntelliJ only.</p>

<p>Whenever I use it from SmartGit or Cygwin CLI, everything works as it should, but running <code>pull</code>, <code>rebase</code> or anything else from withing IntelliJ always ends up with:</p>

<pre><code>C:\cygwin64\home\nati\git\afa\devel\java&gt;git pull
      1 [main] git 9112 C:\cygwin64\bin\git.exe: *** fatal error in forked process - fork: can't reserve memory for parent stack 0x600000 - 0x800000, (child has 0x400000 - 0x600000), Win32 error 487
    528 [main] git 9112 cygwin_exception::open_stackdumpfile: Dumping stack trace to git.exe.stackdump
      9 [main] git 15628 fork: child -1 - forked process 9112 died unexpectedly, retry 0, exit code 0x100, errno 11
error: cannot fork() for git-pull: Resource temporarily unavailable
</code></pre>

<p>I tried restarting or some other things I found online, but no good.
I'm not even sure whether its a Win10, Git, or Idea issue.</p>