berry: [Bug?]: Couldn't allocate enough memory on Windows x86
Self-service
- I’d be willing to implement a fix
Describe the bug
Couldn’t allocate enough memory during installation
To reproduce
https://github.com/Brooooooklyn/Image/runs/4786431120?check_suite_focus=true
Environment
Os: Windows 32 bit
Node: 16.13.2
Additional context
No response
About this issue
- Original URL
- State: open
- Created 5 years ago
- Reactions: 3
- Comments: 15 (1 by maintainers)
i’m getting the same error
Couldn't allocate enough memoryin a fresh Ubuntu 23.04 Docker container using aarch64 and Node.js 20.6.1 and Yarn 3.6.3.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
then tried installing dependencies again with the following
then i still get error
so i changed
maxOpenFilesfrom 10 to 4 by runningthen tried installing dependencies again with the following again
and got same error
so lastly i changed
maxOpenFilesfrom 4 to 1 by running the following and checking the file had changedthen tried installing dependencies again with the following again
and got same error
It happens not only in windows and macos, but on linux too https://github.com/yarnpkg/berry/issues/3580