Is there any limitation of array length in C?
===

I'm working on a program in C. I want to initialize an array which has a length of 1,000,000  
It compiles without any errors or warnings but in the execution, windows sends a process termination.  
I modified my code so there will be 4 arrays each having 500,000 integers. It again compiles without error or warning but the problem still exists.  

I use CodeBlox (GCC compiler, I think)