-
Notifications
You must be signed in to change notification settings - Fork 30.9k
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
"JavaScript heap out of memory" when building on RHEL-7 #23662
Comments
On local system I get this instead:
|
Our gulp tasks are hitting v8 heap limits. Have you tried |
I don’t understand … this has been already set in |
You can look at our spec file for reference if you want https://github.com/Microsoft/vscode/blob/master/resources/linux/rpm/code.spec.template But this error is happening as @alexandrudima pointed out because of node's memory limits. You will need to run node_modules/.bin/gulp vscode-linux-%{arch} --max_old_space_size=4096 |
Right, I didn’t got the point that apparently that |
@mcepl I don't think you can set the |
No problem, it works now (only on 64bit platforms though, I guess 32bit system just don't have enough RAM, right?), so I don't need to care anymore. |
Yeah you may not be able to build on 32-bit. You should be able to cross compile a 32-bit version on a 64-bit machine though. |
Yeah, in the end I really don’t care enough. Who in the world would be developing on 32bit machine these days? |
Steps to Reproduce:
The build log ends with:
The local computer has 4GB free memory (12GB total), 3+GB free disk space on
/home
partition.The text was updated successfully, but these errors were encountered: