seanz2003:
I have an Arduino + ENC28J60 in a greenhouse set up to monitor temperature and humidity. At the moment, my sketch uploads OK but doesn't do anything. My hunch is that it uses to much SRAM memory. Any Suggestions to make it more efficient?e.print("<h1><a href='/?led=off'>Arduino Web Remote</a></h1>");
...
e.print("LED IS ON");
All those strings are stored in SRAM unless you tell it otherwise. They quickly eat it up.
See this page: http://www.arduino.cc/en/Reference/PROGMEM