You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Installing the Ruby gem ffi fails with a "cannot allocate memory" error. Seems related to some other issues which have apparently been fixed. I'm trying to install a jekyll website.
I have the same repo on a different box (both have 4gb of RAM), and it works fine there.
Expected results
Installation with no problems.
Actual results (with terminal output if applicable)
Would it be possible for you to take an strace of the failing command so we can see where the failure is originating? Is it possible that an allocation is being performed that is lager than your NT page file?
Yes I believe the problem is to do with the NT page file. I manually increased it, which enabled me to run the command previously, but now I'm re-initialising this website (and its ruby environment) and it's not working this time round.
Here's the strace (sorry for the size). I think the problem is around line 12000.
Many enhancements to how we calculate available commit have been made in Creator's Update. Please reopen if you continue to see issues on Creator's Update or newer builds.
A brief description
Installing the Ruby gem ffi fails with a "cannot allocate memory" error. Seems related to some other issues which have apparently been fixed. I'm trying to install a jekyll website.
I have the same repo on a different box (both have 4gb of RAM), and it works fine there.
Expected results
Installation with no problems.
Actual results (with terminal output if applicable)
current directory: /mnt/c/Users/laurence/Code/tess/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.14/ext/ffi_c /usr/bin/ruby2.3 -r ./siteconf20160817-4173-1h8ryfr.rb extconf.rb Cannot allocate memory - /usr/bin/ruby2.3 -r ./siteconf20160817-4173-1h8ryfr.rb extconf.rb 2>&1
Your Windows build number
14393.10
Steps / commands required to reproduce the error
bundle install --path vendor/bundle
with a Gemfile.lock requiring the following:
The text was updated successfully, but these errors were encountered: