I was trying to declare a 1024 by 1024 float array but a window just popped up saying project_name.exe has stopped working... with options whether to debug or close program.
Are you declaring this on the stack perhaps? Objects that big have to be on the heap!