The following code gives me a segmentation fault when run on a 2Gb machine, but works on a 4GB machine.
int main() { int c[1000000]; cout << \"do
You array is being allocated on the stack in this case attempt to allocate an array of the same size using alloc.