Re: stack and heap size documentation
On Fri, Jun 28, 2002 at 05:57:36PM -0700, Paul Scott,,, wrote:
> I have been searching for documentation on default stack and heap sizes
> with g++/gcc and how to change them if necessary. I haven't had any
> luck so far.
>
> I have been getting segmenatation faults possibly related to my use of
> the new operator.
Your probably corrupting memory somewhere. AFAIK, "new" should only
fail if you're totally out of memory (and then do so in a predictable
manner). Segfaults are rarely due to programming errors in the
compiler and standard library.
Start by compiling with warnings turned up and debugging symbols turned
on...
--
Eric G. Miller <egm2@jps.net>
--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: