Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not enough memory resources are available to process this command #15217

Closed
gatorlanphear opened this issue Sep 1, 2022 · 13 comments
Closed

Comments

@gatorlanphear
Copy link

The problem

I try to "Sign in to your GitHub.com account to access your repositories." from the desktop app, I am sent to the browser to "continue with browser" to sign in.
And I get an error code and cannot sign in.

Release version

3.07 (x64)

Operating system

Win 11

Steps to reproduce the behavior

  1. Download and open Github desktop
  2. Under FILE open "Options"
  3. Choose "Sign in" with GitHub.com (not enterprise)
  4. Click "Continue with browser" from pop up "Sign in using browser"
  5. Browser (chrome) says, "Open GitHubdesktop.exe?" so I click "open githubdesktop.exe"
  6. Get Error Not enough memory resources are available to process this command.
  7. REPEAT.

Log files

2022-09-01.desktop.production.log
2022-09-01.desktop.production.log

Screenshots

Screenshot 2022-08-28 121554

Additional context

No response

@sergiou87
Copy link
Member

Hi @gatorlanphear ! 👋

I'm not sure what this is about, but seems to happen when the app tries to store your GitHub user token in the Windows Credentials Manager. Could you try rebooting your machine and try again? Hopefully that's all you need 🤞

@sergiou87 sergiou87 added the more-info-needed The submitter needs to provide more information about the issue label Sep 2, 2022
@gatorlanphear
Copy link
Author

gatorlanphear commented Sep 2, 2022 via email

@github-actions github-actions bot removed the more-info-needed The submitter needs to provide more information about the issue label Sep 2, 2022
@tsvetilian-ty
Copy link
Member

Another report on the subject: #15226
The context is the same... the error appears when GitHub Desktop tries to save the credentials in the credential manager. Could you check if you have GitHub - {your_github_url} in your credential manager (open search > search for "Credential Manager" > Windows Credentials)? Also, in #12712, running GitHub Desktop as admin fixed the issue.

@gatorlanphear
Copy link
Author

gatorlanphear commented Sep 4, 2022 via email

@travmason
Copy link

Another report on the subject: #15226
The context is the same... the error appears when GitHub Desktop tries to save the credentials in the credential manager. Could you check if you have GitHub - {your_github_url} in your credential manager (open search > search for "Credential Manager" > Windows Credentials)? Also, in #12712, running GitHub Desktop as admin fixed the issue.

I do not have GitHub - anything in Credential Manager and it does not work if run as administrator.

@tsvetilian-ty
Copy link
Member

tsvetilian-ty commented Sep 5, 2022

It looks like the issue is related to too many entries in Windows Credential Manager. At some point the os calls CredWrite and it fails with ERROR_NOT_ENOUGH_MEMORY 😞 Visual Studio Code has the same issue in the "Troubleshooting keychain issues" section of its docs. Some users report that it works properly once they remove some of the entries in the Credential Manager.

Could you try to run cmdkey /list (through PowerShell as Administrator) to see how many entries you have?

@gatorlanphear
Copy link
Author

gatorlanphear commented Sep 5, 2022 via email

@travmason
Copy link

it worked but I've had to delete production credentials to make it work. It won't last.

@tidy-dev tidy-dev closed this as not planned Won't fix, can't repro, duplicate, stale Sep 6, 2022
@maxineves
Copy link

maxineves commented Sep 16, 2022

¡Pude eliminar una credencial y funcionó! ¡Gracias por tu ayuda bro!

@gatorlanphear
Copy link
Author

gatorlanphear commented Oct 11, 2022 via email

@TommySTYP
Copy link

TommySTYP commented Mar 31, 2023

This solution always work for me.

Go to Control Panel -> User Accounts -> Manage your credentials -> Windows Credentials

Before do anythings below, please do not forget Back up Credentials to make sure you did not remove important credentials accidentally.

After backed up then remove unnecessary or no longer use credentials such as mapping drive, credentials related to old software that you've uninstalled, etc. This way help to free up space of Credentials Manager.

Try to open Github Desktop and see if the problem has been gone to the wind. If yes, congratuation and you will see "Github - https://....." on Generic Credentials

@st4rdog
Copy link

st4rdog commented Sep 27, 2024

Again solved by deleting tons of credentials. About 100+ starting with XblGrts in my case.

Now Roblox Studio also logs in properly.

Is bizarre that so many apps are relying on this feature that clearly doesn't work.

@Tjibi
Copy link

Tjibi commented Nov 23, 2024

It works if you delete some old credentials. As others mentioned, there is probably an error with older credentials existing and then it throws an automatic error. I did not have to run the application in admin. I did not have to reboot the computer. I just deleted some credentials :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants