Есть закрытый репозиторий на bitbucket.
В этом проекте в файле composer.json указанны так же закрытые репозитории. Но я имею к ним доступ, на bitbucket указан мой ssh key, но всё равно выбивает ошибку.
$ composer update
Loading composer repositories with package information
e:\openserver\modules\git\bin\ssh.exe: *** Couldn't reserve space for cygwin's heap, Win32 error 0
[RuntimeException]
Failed to execute git clone --mirror "git@bitbucket.org:ASBorzakovsky/yii2-grid.git" "C:/Users/Punk/AppData/Local/Composer/vcs/git
-bitbucket.org-ASBorzakovsky-yii2-grid.git/"
Cloning into bare repository 'C:/Users/Punk/AppData/Local/Composer/vcs/git-bitbucket.org-ASBorzakovsky-yii2-grid.git'...
0 [main] us 0 init_cheap: VirtualAlloc pointer is null, Win32 error 487
AllocationBase 0x0, BaseAddress 0x68570000, RegionSize 0x60000, State 0x10000
e:\openserver\modules\git\bin\ssh.exe: *** Couldn't reserve space for cygwin's heap, Win32 error 0
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.