Tuesday, September 19, 2006
largest static array size in UNIX
After puzzled by this question for several times, I finally decided to find out the answer. After writing some trial programs, I discovered that the size is related to the system stack limit. Under FreeBSD, the limits can be gotten by limits command. Under other OS, you can use getrlimit function to get various limits of the system.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment