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

Bash fails to use Swap #1983

Closed
aurimus opened this issue Apr 22, 2017 · 5 comments
Closed

Bash fails to use Swap #1983

aurimus opened this issue Apr 22, 2017 · 5 comments

Comments

@aurimus
Copy link

aurimus commented Apr 22, 2017

Trying to do memory heavy operations fails due to low RAM, even though there should be plenty of Swap space available..

I tried do Rails bundle install but it fails with error /bundler/source/git/git_proxy.rb:162:in ``': Cannot allocate memory - git (Errno::ENOMEM)

Then I quit some programs on Windows and try again, then it succeeds. I have speedy SSD so using it as RAM is not that big problem, but it's annoying that WSL fails to unilize it.

This has happened on many other occasions using WSL.

Windows version: 1607, 14393.1066

@aseering
Copy link
Contributor

Hi @aurimus -- could you please post your Windows version, per the issue template? (You may have said it elsewhere, but it's easy for people reading this forum to lose track :-) )

Memory handling in WSL was improved a great deal between the Anniversary and Creators releases.

@aurimus
Copy link
Author

aurimus commented Apr 22, 2017

@aseering done, thanks, ok, I see. When do I get the creators release as a stable user?:)

@therealkenc
Copy link
Collaborator

therealkenc commented Apr 22, 2017

@aurimus This is #851 (message) and friends. Creator's came out April 11th. Strange; you are not the only one who has mentioned they didn't get the Creator's update automagically. Click Update Now here, and if that doesn't work, go hard with the download tool.

@aseering
Copy link
Contributor

@aurimus -- Creators is being rolled out via Windows Update as we speak :-)

It's a phased roll-out, over several weeks. There's a blog post here with details; also a "download now" link if you want to get it now and it isn't showing up in your Windows Update yet:

https://blogs.windows.com/windowsexperience/2017/04/11/how-to-get-the-windows-10-creators-update/

@aurimus
Copy link
Author

aurimus commented Apr 22, 2017

Thanks, have it now. Will see if this comes up again, for now closing..

@aurimus aurimus closed this as completed Apr 22, 2017
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

3 participants