On 12/3/06, Digvijoy Chatterjee wrote:
Thanks, the heap allocation code (malloc) ran without a problem.. so does a stack overflow mean ,that the stack can grow only to a maximum size in the memory ??..who sets this ,and how does one change this..
ulimit
10,000,000 integers seems very little to overflow the stack.
It is a least 40MB which seems unreasonably high. See below on my machine (in kB): bash-3.00$ ulimit -s 10240 Regards, Dima.