Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

maximal stack size



Hi,

 

I'm trying to port a UNIX program to Darwin. The program has a big
array. If the array is small, it runs good. If I set the array very big,
it failed to run. The error message is segmentation fault. Although I
use setrlimit to increase the stacksize, I still get the same problem. I
tried the limit command in the tcsh, it looked that I can get up to
65536k byte of stack. Is there any way to get a stack size above 65536k
bytes?

Thank you for any help.

 

Jianquan Chen

Rothberg Institute

530 Whitfield Str

Guilford, CT 06437

www.childhooddiseases.org

Phone: 203-458-7100

Fax:203-458-2514

 

 

Jianquan Chen

Rothberg Institute

530 Whitfield Str

Guilford, CT 06437

www.childhooddiseases.org

Phone: 203-458-7100

Fax:203-458-2514
_______________________________________________
unix-porting mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/unix-porting
Do not post admin requests to the list. They will be ignored.





Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.