> Nope. The program cores at 7, when it reaches 8MB, just like the other
> my testprgs.
> Very very strange. If I allocate memory by malloc(), I can fill all the
> available memory, but if I use infinite recursion the programs stops
> when the stack reaches 8MB...
> Can someone explain me this behaviour ?
ulimit. Default stack size limit (on my distro anyway) is 8Mb.
Matthew.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/