More MEMORY?

Which memory have you run out of, flash or RAM? It is often possible to change the code to reduce usage of one or other or both, but you need to post your code if you want specific advice. Once you have applied the main techniques, if you are still running out then the best option may be to switch to a processor with more resources, e.g. a Mega or a Teensy.