Publish larger packet in mqtt

GirishHolla
Posts: 15
Joined: Tue Jun 01, 2021 10:21 am

Publish larger packet in mqtt

Postby GirishHolla » Thu Jul 08, 2021 6:53 am

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.
Attachments
Memory_exh.png
error as 'memory exhausted'
Memory_exh.png (12.94 KiB) Viewed 2050 times

GirishHolla
Posts: 15
Joined: Tue Jun 01, 2021 10:21 am

Re: Publish larger packet in mqtt

Postby GirishHolla » Tue Jul 13, 2021 11:32 am

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

Who is online

Users browsing this forum: Google [Bot], Majestic-12 [Bot] and 237 guests