-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
[Bug?]: Couldn't allocate enough memory on Windows x86 #3972
Comments
https://github.com/napi-rs/napi-rs/runs/4919807837?check_suite_focus=true very easy to reproduce |
This comment was marked as outdated.
This comment was marked as outdated.
im having the exact same issue. |
I'm getting this issue using UTM/windows arm64 on a mac m1. Could we get the Reproduction steps:
|
Tried going all the way up to Tried on VMWare and Parallels as well, same thing. Haven't tried x86 yet. |
Hello, I'm hitting this issue on Appveyors VMs which has node 18.12.0 (x86). https://ci.appveyor.com/project/Kuinox/appveyor-yarn-crash/builds/45458965
As you can see, I'm not doing anything weird: |
I just reproduced it in a Windows 11 Hyper-V VM on my desktop. Edit: Edit 2: With this new knowledge, I managed to reproduce without any VM, simply by cleaning the cache ( |
GitHub Actions also fails with "Couldn't allocate enough memory" when using yarn on Node x86 (which is the default on AppVeyor). x64 works as expected. |
i never could fix it although digged very deep into the source of yarn. We started having it when using more and more workspace packages. Whoever has that issue locally, look at the process monitor and search for the node one. |
I'm able to reproduce this every time by using As a workaround, I tried reducing the So to make it work, I just searched and replaced every |
i'm getting the same error i'm using a Macbook Pro Max M2 and already configured Docker for Mac Settings to use up to 40 out of my 64Gb of memory i tried your solution by running sed -i 's/maxOpenFiles:80/maxOpenFiles:10/g' .yarn/releases/yarn-3.6.3.cjs then tried installing dependencies again with the following time yarn install --network-timeout 1000000000 then i still get error
so i changed sed -i 's/maxOpenFiles:10/maxOpenFiles:4/g' .yarn/releases/yarn-3.6.3.cjs then tried installing dependencies again with the following again time yarn install --network-timeout 1000000000 and got same error
so lastly i changed sed -i 's/maxOpenFiles:4/maxOpenFiles:1/g' .yarn/releases/yarn-3.6.3.cjs then tried installing dependencies again with the following again time yarn install --network-timeout 1000000000 and got same error
|
This is happening to me on yarn 4.2.1, on macOS, with the following yarnrc:
If I remove the musl libc entry it works, but I need that for Docker.
Has anyone ever found a solution? |
I also had issue with not enough memory on macOS 14.5 with node 20.15.1 and yarn 4.3.1:
I was able to mitigate the issue by using yarn 3.8.3 and by adding this to my
|
It happens not only in windows and macos, but on linux too |
Self-service
Describe the bug
Couldn't allocate enough memory during installation
To reproduce
https://github.com/Brooooooklyn/Image/runs/4786431120?check_suite_focus=true
Environment
Additional context
No response
The text was updated successfully, but these errors were encountered: