vscode: Source control module fails with `Error: spawn ENOMEM`

Version: 1.29.1 Commit: bc24f98b5f70467bc689abf41cc5550ca637088e Date: 2018-11-15T19:07:43.495Z Electron: 2.0.12 Chrome: 61.0.3163.100 Node.js: 8.9.3 V8: 6.1.534.41 Architecture: x64

Steps to Reproduce:

  1. Perform some actions with the source control module (git repository)
  2. Try to change branch using the button on the button on the bottom left corner (some other actions cause the error too but I consistently get errors doing that)

The git command fails with the following error:

Error: spawn ENOMEM
	at _errnoException (util.js:1024:11)
	at ChildProcess.spawn (internal/child_process.js:323:11)
	at exports.spawn (child_process.js:514:9)
	at Object.exports.fork (child_process.js:115:10)
	at Promise (/usr/share/code/resources/app/extensions/json-language-features/client/dist/jsonMain.js:1:115339)
	at new Promise (<anonymous>)
	at _getServerWorkingDir.then.i (/usr/share/code/resources/app/extensions/json-language-features/client/dist/jsonMain.js:1:114945)
	at <anonymous>

Does this issue occur when all extensions are disabled?: Yes

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Reactions: 1
  • Comments: 25 (12 by maintainers)

Most upvoted comments

@joaomoreno this is the first time I hear of ENOMEM, typically the watcher one is ENOSPC