Programme stuck in setup

Ah okay, interesting. I've changed it to "char * hdrstr =" and I do get somewhat different results, but I think I'm still low on memory. I'm getting this:

Into Setup
BMP complete
GPS complete
BeginnInto Setup
BMP complete
GPS complete
Beginning SD teInto Setup
BMP complete
GPS complete
Beginning SD teInto Setup
BMP complete
GPS complete
BeginnInto Setup