Mailing Lists: Apple Mailing Lists

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

PB and enforcing Stack Size



I wrote some code that uses a very simple, but very large array - It's a simple program after all. In fact the array is so large that if I compile the program from within PB, it generates an access violation at run time, when it tries to create the array. If I go into a terminal window and type "ulimit -s <a_large_number>" (larger than the default of 512) and then compile the code, it'll run, because it's using the larger stack size. But I can't get PB to use this larger stack size.

Does anyone know how to get PB to use a larger stack size than the default ?

Thanks, Gary Meyer.

p.s. I use bash as my shell, thus the ulimit command. If you use tcsh, then the command is "limit stack <#>"
~~~~~~~~~~~~~~~~~~~~~~
Gary Meyer
email@hidden
_______________________________________________
projectbuilder-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/projectbuilder-users
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.