linux-c-programming.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Eljay Love-Jensen <eljay@adobe.com>
To: Ankit Jain <ankitjain1580@yahoo.com>, gcc <gcc-help@gcc.gnu.org>,
	linux prg <linux-c-programming@vger.kernel.org>
Subject: Re: Memory Allocation Problem
Date: Wed, 15 Sep 2004 07:01:29 -0500	[thread overview]
Message-ID: <6.1.2.0.2.20040915065922.03539130@iplan-mn.corp.adobe.com> (raw)
In-Reply-To: <20040915060237.55405.qmail@web52910.mail.yahoo.com>

Hi Ankit,

Your OS probably does not provide that many megabytes of STACK space.

Allocate your enormous 2-dimensional array on the HEAP or in the BSS or in 
the DATA areas instead.

Or check out if your can adjust the size of your STACK to around 32 
MB.  That might be a linker option.  Depends on your OS.

HTH,
--Eljay


  reply	other threads:[~2004-09-15 12:01 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-15  6:02 Memory Allocation Problem Ankit Jain
2004-09-15 12:01 ` Eljay Love-Jensen [this message]
2004-09-15 15:35 ` Suciu Flavius
2004-09-15  6:38   ` Chandan Chopra
     [not found] <4147E06B.4030303@redpinesignals.com>
2004-09-15  6:34 ` Ankit Jain

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=6.1.2.0.2.20040915065922.03539130@iplan-mn.corp.adobe.com \
    --to=eljay@adobe.com \
    --cc=ankitjain1580@yahoo.com \
    --cc=gcc-help@gcc.gnu.org \
    --cc=linux-c-programming@vger.kernel.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 NNTP newsgroup(s).