I suggest you continue to post ALL your work here. I have yet to see anyone who sells the Arduino-flavored board address the issue with overflowing the memory. This is the one place, with you one of the main players, where the slightly more advanced can get answers.
Thanks,
Gary
PS: Why are you playing with the Arduino IDE, and not Eclipse or some such?