Page 1 of 1

Publish larger packet in mqtt

Posted: Thu Jul 08, 2021 6:53 am
by GirishHolla
Hi, Using esp32-wroom32, esp-idf v.4.2.
Facing an issue with publishing larger content packets in MQTT (JSON format) from esp32. When tried to publish a larger packet in MQTT results in an error as 'Memory exhausted'(screenshot attached with this) but the packet is successfully published in the MQTT server. Changed in configuration for MQTT buffer (from sdkconfig file) but failed to get the best results. Kindly let me know if there are any changes in configuration for MQTT in esp. Thank you in advance.

Re: Publish larger packet in mqtt

Posted: Tue Jul 13, 2021 11:32 am
by GirishHolla
Changed in 'Default MQTT Buffer Size' as '15360' & 'MQTT task stack size' as '6144' but still failed to get required result any configuration for MQTT in a queue or any other parameters settings or modification kindly let me know ASAN.Thank you in advance