LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices



Reply
 
Search this Thread
Old 05-24-2004, 09:57 AM   #1
muzzafukka
LQ Newbie
 
Registered: May 2004
Posts: 1

Rep: Reputation: 0
Question Accessible stack memory for a process on IA-64


Hi!
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.

>ulimit -a
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Difference b/t Kernel stack and User stack hazzyb Linux - Software 2 09-29-2008 08:40 PM
process memory ecampos02 Linux - Newbie 5 11-18-2005 05:42 PM
process and memory access phoenix7 Linux - Software 4 08-30-2005 11:25 AM
stack trace of a process node047 Linux - Newbie 2 04-01-2005 10:11 PM
Help Configuring the Memory Used by a Process in RedHat? (Cache Memory on CPU) geogecko Linux - General 3 02-23-2005 04:32 PM


All times are GMT -5. The time now is 03:12 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration