Arduino Ethernet board and SD card/library issues

I am using an Arduino Ethernet board with an 8 gig microSD card(very hard to find small 1 gig cards not online). When I enter the sdLog() function in the attached code the system doesn't even jump into void setup. I don't even have to call it simply have it uncommented and it stops the program(as it appears in the attachment). When I do comment it out the card initializes. I do not have anything attached to pin 4, 10, 11, 12, 13. Very confused here.

Plant.txt (6.01 KB)

Maybe you are running out of SRAM. Go through your code and use the F() function on all your static strings.

// change this
  Serial.print("server is at ");
// to this
  Serial.print(F("server is at "));

That should save you a considerable amount of SRAM.

I'll try that. When compiling it says I'm at 30 of 32

AgentNoise:
I'll try that. When compiling it says I'm at 30 of 32

That is program memory, not SRAM.