Declaring large (but not that large) array causes crash?
Declaring large (but not that large) array causes crash?
- Subject: Declaring large (but not that large) array causes crash?
- From: John Scalo <email@hidden>
- Date: Mon, 22 Sep 2003 12:08:22 -0700
Sorry, this isn't Cocoa-related per se, but it is crashing my Cocoa program
:-(
Declaring an array with a lot of items always causes a crash.
int main (int argc, const char * argv[]) {
unsigned long notSoBigArray[200000];
return 0;
}
That's only about 780K. Why the crash?
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.