-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
compiler allocation failed #4593
Comments
Works on my computer; with no zig-cache:
|
I get this on debian 10 x64 with 1GB mem 0.5GB swap:
|
I created a heroku buildpack for zig to tried and deploy a stupid simple zig streamserver app and it also fails build on a server with 1GB of memory without any extra swap space.
After adding 1GB of swap space it worked. From watching with top it seems zig requires about minimum of 1.2GB of free memory to build a very simple project. |
$
zig build-exe main.zig
allocation failed
Unable to dump stack trace: debug info stripped
The text was updated successfully, but these errors were encountered: