EC600 MQTT Out of Memory Issue

We are currently facing an MQTT-related memory issue on the EC600 module during operation. After continuous MQTT publish/subscribe activity, the module reports the following error:

MQTTCLIENT_OUT_OF_MEM = -3

Due to this error, the MQTT communication becomes unstable and eventually stops functioning.

Module Details:

  • Module: EC600

  • Firmware Version: LTE01R03A08_C_SDK_U

  • Network Type: LTE/4G

We would like to understand:

  • What exactly does the error “MQTTCLIENT_OUT_OF_MEM = -3” indicate?

  • Under what conditions does this error occur?

  • What is the recommended method to resolve or prevent this issue?

  • Is there any firmware update, configuration change, or best practice recommended for stable MQTT operation?

Kindly help us with the root cause analysis and the recommended solution for this issue.

Hello @Kulshrest,

The error indicates literally: it ran out of available memory space.

Please look for any memory leaks within your application code, as the MQTT demo does not present such issue.

We suggest building on top of the MQTT demo and see if the issue persists.

Thank you!

As far I know, there are maximum limiation because of memory limitation. You cannot initiate publish request too quickly. If the request sequence is full, it may cause such error. The better way is that application should publish/subscribe according to previous task status. You can get status via callback.