Re: g++ 3.01 on HP-UX 11.0, stack size too large?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 4/5/06, Puetz, Oliver  P11M22 <Puetz.Oliver@xxxxxxxxxxx> wrote:
> Hi,
>
> I've written a program, which allocates locally (within a subroutine)
> approx. a little bit lesser than 8k of memory (I guess, as there are
> also objects). Mainly float vars. If I increase the number of the float
> vars, the program aborts with a Memory fault (core dump).
>
> Is it possible that the program aborts, if the local var size on the
> stack exceeds 8k? Or can I specify a compiler flag to increase the stack
> size for local variables?
>
Try doing a ulimit -a to see the system set size. You can change it
using ulimit or the function setrlimit.

> Kind regards
>
> Oliver Puetz
>
>
>


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux