Skip to content

error: memory usage peaked at 8761503744 bytes, exceeding the declared upper bound of 7800000000 #23347

@vt-alt

Description

@vt-alt

Zig Version

0.14.0 release

Steps to Reproduce and Observed Behavior

zig does not build on aarch64 (and ALT Linux with clang/llvm 18.1) with the error message:

[00:50:58] install
[00:50:58] +- install zig
[00:50:58]    +- zig build-exe zig ReleaseFast native-native failure
[00:50:58] error: memory usage peaked at 8761503744 bytes, exceeding the declared upper bound of 7800000000
[00:50:58] Build Summary: 2/5 steps succeeded; 1 failed
[00:50:58] install transitive failure
[00:50:58] +- install zig transitive failure
[00:50:58]    +- zig build-exe zig ReleaseFast native-native failure
[00:50:58] error: the following build command failed with exit code 1:
[00:50:58] /usr/src/RPM/BUILD/zig-0.14.0/.zig-cache/o/55fab3c8fb19a54def3ed68ad1ccb069/build /usr/src/RPM/BUILD/zig-0.14.0/aarch64-alt-linux/zig2 /usr/src/RPM/BUILD/zig-0.14.0/lib /usr/src/RPM/BUILD/zig-0.14.0 /usr/src/RPM/BUILD/zig-0.14.0/.zig-cache /usr/src/.cache/zig --seed 0x9e6fb5f1 -Z0e02e7c0329ceb3f --prefix /usr/src/RPM/BUILD/zig-0.14.0/aarch64-alt-linux/stage3 -Dversion-string=0.14.0 -Dtarget=native -Dcpu=baseline -Denable-llvm -Dconfig_h=/usr/src/RPM/BUILD/zig-0.14.0/aarch64-alt-linux/config.h -Dno-langref -Doptimize=ReleaseFast

Expected Behavior

A successful build or absence of error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugObserved behavior contradicts documented or intended behavior

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions