Is there a maximum size to the data segment in a C++ program? More
specifically, I am trying to write a program with a very large array.
The program compiles OK (since C/C++ do no bounds checking on arrays),
but segfaults when I try to run it. The limit seems to be at just under
8MB. Is there a way to allocate more space for data?
--
Marc Shapiro
[EMAIL PROTECTED]
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
- Re: Max size of data in C++ prog? Marc Shapiro
- Re: Max size of data in C++ prog? Gregory Seidman
- Re: Max size of data in C++ prog? Sam Watkins
- Re: Max size of data in C++ prog? John Hasler
- Re: Max size of data in C++ prog? Ron Johnson
- Re: Max size of data in C++ prog? John Hasler
- Re: Max size of data in C++ prog? Allan Wind
- Re: Max size of data in C++ prog... John Hasler
- Re: Max size of data in C++ ... Paul E Condon
- Re: Max size of data in C++ ... Jerome BENOIT
- Re: Max size of data in C++ ... John Hasler