Try to stay away from arrays this big. If the array is global or static, it's fine. If you're doing this inside a function, and it's not static, you're going to run into performance problems, and plugin stack issues.
You can increase the amount of stackspace allocated to local function using this:
Code:
//Increase memory to 512K cells (~2MB of memory)
#pragma dynamic 524288
__________________