Hi Seanpatrick,
Continue with the posting attempts.
Molly K can help with posting large files.
Now that you say that re-trying helps, I do suspect the memory issue.
If other paths do not lead to a solution, concider using the Leds on the cFP as a diagnostic tool.
You can write a different led pattern when you code is in different states. This could give a clue as to what is going on inside the cFP when the problem occurs.
Please keep us updated.
Still trying to help,
Ben