I am facing this problem with the spark core as well as with the arduino (with CC3000). I am running a MQTT client based on the library from knolleary. However, how do I know the RAM usage in my program?
This is because, code compiles and uploads successfully, but it does a publish and reboots. If I cut down a section of the code, it works fine.
So am I running out of RAM, or the MQTT client is not able to handle the payload., or a problem with CC3000.??
PS: My code receives 16 bytes of data via serial port, 8 bytes gives me two temperature parameters, each bit of 3 bytes gives me specific alarms, rest are ignored. I converted each of them into one meaningful string and published that via MQTT.