Is the arduino uno compatible with 4D arrays?

Ok. If that's too difficult for you, post the code, and we'll look at your variables, and count the bytes.