Okay I found another issue. I used SD library too (https://github.com/technobly/SparkCore-SD) if i renamed build file and recompiled then my spark works fine.
arm-none-eabi-size --format=berkeley core-firmware.elf
text data bss dec hex filename
66876 2592 12644 82112 140c0 core-firmware.elf
and deployed to my spark:
Downloading to address = 0x08005000, size = 69472
After I re-enabled SD library then i got footprint and red flashing (8 times) error.
arm-none-eabi-size --format=berkeley core-firmware.elf
text data bss dec hex filename
70360 3124 13316 86800 15310 core-firmware.elf
and deploy:
Downloading to address = 0x08005000, size = 73488
P.S. Used same plain code, just includeing TCPClient.