public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: Xi Ruoyao <xry111@xry111.site>
To: bernardwidynski@aol.com
Cc: "gcc-help@gcc.gnu.org" <gcc-help@gcc.gnu.org>
Subject: Re: malloc for large allocations
Date: Fri, 03 Mar 2023 00:39:19 +0800	[thread overview]
Message-ID: <db4aaf4a0319eeddafd015b338ce59d7c06af877.camel@xry111.site> (raw)
In-Reply-To: <862020245.2697591.1677774906070@mail.yahoo.com>

On Thu, 2023-03-02 at 16:35 +0000, bernardwidynski--- via Gcc-help 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.

malloc is not provided by GCC.  Ask the developer of your libc.

-- 
Xi Ruoyao <xry111@xry111.site>
School of Aerospace Science and Technology, Xidian University

      parent reply	other threads:[~2023-03-02 16:39 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <862020245.2697591.1677774906070.ref@mail.yahoo.com>
2023-03-02 16:35 ` bernardwidynski
2023-03-02 16:37   ` Jonathan Wakely
2023-03-02 16:39   ` Xi Ruoyao [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=db4aaf4a0319eeddafd015b338ce59d7c06af877.camel@xry111.site \
    --to=xry111@xry111.site \
    --cc=bernardwidynski@aol.com \
    --cc=gcc-help@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).