Not enough memory AND problem with using PROGMEM

PROGMEM can only be used at global scope, I suspect.
You could try "static"