question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

error logging in 'writing login information to the keychain failed with error 'not enough memory resources are available to process this command'

See original GitHub issue

Does this issue occur when all extensions are disabled?: Yes/No unable to start container without extensions enabled

  • VS Code Version:
  • Version: 1.60.0-insider (user setup) Commit: 9dd4f31a21d63deea5e1fc322cfc802413b31d95 Date: 2021-08-16T05:21:19.431Z Electron: 13.1.8 Chrome: 91.0.4472.164 Node.js: 14.16.0 V8: 9.1.269.39-electron.0 OS: Windows_NT x64 10.0.22000
  • OS Version:

Steps to Reproduce:

VSCode Insiders Edition on Windows Insider gives error every time when logging in to GitHub and other sites 'writing login information to the keychain failed with error ‘not enough memory resources are available to process this command’. Also, have set up ssh, but still requires web authentication for extensions every time I open VSCode. It gives the error, but then continues to login after the error and does not save login information. after opening VSCode insiders

  1. click login to github
  2. displays error and does not save login information
  3. then tested on current VSCode and doesn’t require login every time and no issues with memory (working) Version: 1.59.0 (system setup) Commit: 379476f0e13988d90fab105c5c19e7abc8b1dea8 Date: 2021-08-04T23:13:12.822Z Electron: 13.1.7 Chrome: 91.0.4472.124 Node.js: 14.16.0 V8: 9.1.269.36-electron.0 OS: Windows_NT x64 10.0.22000

Regular Edition does not give the error and I do not have to login to github everytime the app starts. https://www.loom.com/share/b7b2411e8c3147a88b2fec7e1eaa03f3

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:5
  • Comments:65 (20 by maintainers)

github_iconTop GitHub Comments

1reaction
BladeMFcommented, Nov 4, 2022

can you tell me how many things you’ve logged into with your Microsoft account? Based on 2 items being updated on Nov 4, I am going to guess…2… LiveShare & Settings Sync maybe?

Yes, these two.

Do you recall having to randomly sign in to Microsoft every once in a while?

It’s not that this doesn’t happen, but it is diffucult to remember so far back.

1reaction
rzhao271commented, Aug 31, 2022

I have confirmed that once there are too many credentials, the Windows call CredWrite fails with ERROR_NOT_ENOUGH_MEMORY. This issue doesn’t have to do with Electron or Node.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How To Fix "Not Enough Memory Resources Are Available ...
In this post I will show you, how to fix “Not enough memory resources are available to process this command” error in the...
Read more >
Settings Sync in Visual Studio Code
If the keychain throws the error "Not enough memory resources are available to process this command", open the Credential Manager application, ...
Read more >
VSCode "Writing login information to the keychain failed ...
Writing login information to the keychain failed with error 'UNIX[No such file or directory]'. System Details: New install of VSCode For Mac:
Read more >
Fixes or workarounds for recent issues in OneDrive
If it's not visible in Spotlight, go to the Utilities folder and open Keychain Access from there. Search for “OneDrive.” Delete “OneDrive Cached...
Read more >
I'm getting a Keychain error message when signing in
To fix this issue, please try the following: Quit VPN Tracker; Open Keychain Access from Applications > Utilities; Select your login keychain; Choose...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found