From: Ron Flory <rjflory@feist.com>
Subject: Re: Maximum array size?
Date: 1999/03/06 [thread overview]
Message-ID: <36E17B48.7ABE0678@feist.com> (raw)
In-Reply-To: 7bqfk7$q53@bgtnsc03.worldnet.att.net
> >> It just so happens that 2^24 = 1Mb. This leads me to believe that
> >> the default stack size is 1Mb. Since other variables are also on
> >> the stack (some which you may not be aware of implicitly, e.g.
> >> argc, argv, etc.) you will always have < 1Mb for your local
> >> variables.
huh?
I missed the original message, but declaring more that a (very) few Kb
from the stack is unwise. Use new/malloc for such things- thats what
the heap is for...
ron
next prev parent reply other threads:[~1999-03-06 5:00 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-02-10 5:00 Maximum array size? Owen Peter Vajk
1999-02-21 5:00 ` Shana Tackett
1999-02-21 5:00 ` Joachim Wesner
1999-02-21 5:00 ` Nobody
[not found] ` <7bqfk7$q53@bgtnsc03.worldnet.att.net>
1999-03-06 5:00 ` Ron Flory [this message]
1999-03-09 5:00 ` Shana Tackett
[not found] <rz7n22fx6kc.fsf@corton.inria.fr>
1999-02-22 5:00 ` Greg Lindahl
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox