Accessible stack memory for a process on IA-64
I've been trying to use large arrays on stack allocated by alloca() on Itanium2 system with 4Gb RAM. If array size approaching 2Gb then I got segmentation fault trying to access memory near the stack top (debugger says "Cannot access memory").
Are there any limitations on the memory accesible to the process (and particularly for its stack) on IA-64 Linux? I use 2.4.19-SMP kernel.
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
file size (blocks, -f) unlimited
max locked memory (kbytes, -l) unlimited
max memory size (kbytes, -m) unlimited
open files (-n) 1024
pipe size (512 bytes, -p) 8
stack size (kbytes, -s) unlimited
cpu time (seconds, -t) unlimited
max user processes (-u) 8146
virtual memory (kbytes, -v) unlimited
I would appreciate your help.