My mistake. The below snippet doesnt give me errors. Did i do this right? I wanted to make it the maximum value:

Code:
int* mega_nodes;
mega_nodes = sys_malloc(2147483647*sizeof(int));



I did that not inside a function or anything, just where the other vars are declared. After doing this, can i do the following?

mega_nodes[2147483647] = 2147483647?

which is to go to the last slot and give it a value.


A question:

1. 2147483647 x 4 = 8589934588 bytes, which comes out to 8.589 gigs! This is allocated in the GS Nexus, correct? I dont notice an increase in MB in the nexus statistics panel. I duplicated the sys_malloc with multiple different ints, each to the max int value, and my memory usage nexus-wise hasnt increased. Is this because nothing was actually stored in the array, and its just marking this memory area as "DO NOT TOUCH" for any other memory calls?