Open the .cydwr-file (where you assign the pins), select the "System" tab at the bottom and in the list you find the settings for the heap which you should increase to 0x200.
PSoC Creator4.1 has been released
Yes, thanks. Forgot about the Heap Space thing. Cypress support recommended going from the default of 0x80 to 0x1000 on our PSoC 5. I was in such a panic state I didn't see the note at the bottom of the article.