On Thu, 2 Mar 2023 at 16:36, bernardwidynski--- via Gcc-help <gcc-help@xxxxxxxxxxx> wrote: > > I have a computer with 128 gigabytes of memory. > However, when I try to malloc memory, it only works if I malloc less than 64 gigabytes. > Is there some parameter I could change that would allow me to malloc more than 64 gigabytes. This has nothing to do with GCC. malloc is provided by the C library, not by GCC.