Too much code

Whenever I try to compile the code, I get an error saying that something couldn’t fit into a system (I can’t check the code right now). The other programmers and I think this may be due to our code being fairly large (we have about 8 different autonomous modes). Has anyone else run into this? And can anyone give general solutions for problems such as this?

The exact error would be very very helpful. There’s lots of things that might not fit into several places, after all. My first two guesses are that you’ve just plain got too much code to fit into memory, or you have too many variables.

Give us the exact error. There are times when you have plenty of space left, but the the linker does not know how to properly manage it. This can commonly happen if you try to have a really big array.

----------- Changelog ------------
changed area on line 1 to error.