riscv-gnu-toolchain icon indicating copy to clipboard operation
riscv-gnu-toolchain copied to clipboard

[Windows] 2025.02 Toolchain cc1.exe: out of memory allocating

Open bigmagic123 opened this issue 3 months ago • 0 comments

Issue: "cc1.exe: out of memory allocating 2147487743 bytes" (32-bit Toolchain Limitation)

When compiling a large number of files, the toolchain fails with the error:

cc1.exe: out of memory allocating 2147487743 bytes

The compilation process is running on a 32-bit toolchain, which inherently restricts memory allocation to ~2GB or less per process (due to address space limitations).

bigmagic123 avatar Aug 18 '25 08:08 bigmagic123