-
Notifications
You must be signed in to change notification settings - Fork 822
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
gclient sync ran on WebRTC repository fails with [Err: panic: failed to execve "python": cannot allocate memory #2959
Comments
Confirmed the OOM here on 17101. I did this on LxFs with Defender real time protection disabled (because sanity) so those aren't variables. Also tried
The exact failure point isn’t likely important (with Chrome it failed on The scary quotes on "new" is because, tellingly, while I have built Chromium under WSL successfully in the past, I don't particularly recommended it, and have not done so recently. LxFs performance (let alone DrvFs performance) is such that you’ll find a happier experience in a VM. If you are hell bent on compiling |
Also experiencing. Have 32GB physical RAM. |
Same issue here. Any news on this? |
Same issue. Running Ubuntu 16.04 on a machine with 16GB of physical RAM and having Ubuntu hit the limit at 4,64GB. |
windows_version:Microsoft Windows [Version 10.0.16299.334] typing command gclient sync --reset --with_branch_heads the terminal print free command show subsytem memory 3.2G~can i make the memory larger? |
Same issue Windows Pro 1803 Microsoft Windows [Version 10.0.17134.407] |
Yeah same on 1809. |
I would be satisfied with a vcpkg too so I would not have to build it manually. I don't know the process of making one though. |
For now, while it's rather inconvenient, I managed to make builds work by manually copying each failed Luckily, depot_tools are cross-platform by design, and there were very few such commands (I suppose just on large files), so it worked without further issues and now V8 compiles inside of WSL too. |
Hello everyone, I have also encountered this problem. |
@liaochongliang it is a problem within WSL (at least was at the time when I've opened this issue). |
I'm seeing this issue as well, and apparently it's been seen in the wild in Russian versions of WSL: https://toster.ru/q/589833 |
Just an update, this should be fixed in Windows 10 Insider Preview Build 18342 (as mentioned in #3800). This will be included in the Windows 10 19H1 update, the codename for the 2019 I've reproduced the bug myself by calling Also, another workaround besides #2959 (comment) is to just re-run the failing command in a loop. Because of the randomness of which Python thread calls while ! download_from_google_storage [...] ; do true; done |
same issue with all newest patch |
Whether the error above was #3800 or otherwise, it will not manifest in WSL2. |
Not fixed for me, in docker container: I have 15x that memory free, build is newest with 21359 insider, of course wsl2 |
If you are experiencing |
That fixed it for me: |
Issue
Unable to properly fetch WebRTC repository under WSL, because python invocation fails with memory allocation error.
The steps to reproduce mostly follows this WebRTC manual https://webrtc.org/native-code/development/
Environment details:
Steps to reproduce
Expected behavior
should succeed, but it failed when repository hooks were run
Actual behavior
Since
fetch webrtc
failed when it was running hooks, the repository is already there and to reproduce the issue again and again I just need to rungclient sync
inside downloaded repositorystrace -ff gclient sync
produced thousands of files, some of them has failures found byag "cannot allocate memory"
Attaching this files which contains memory allocation error: https://www.dropbox.com/s/iv6idf660s7mhrx/webrtc.zip?dl=0
The text was updated successfully, but these errors were encountered: