espressif / esp-idf

Espressif IoT Development Framework. Official development framework for Espressif SoCs.
Apache License 2.0
13.71k stars 7.3k forks source link

outbox: outbox_enqueue(53): Memory exhausted (IDFGH-13528) #14419

Open Irving-LJP opened 2 months ago

Irving-LJP commented 2 months ago

Answers checklist.

IDF version.

V5.2.2

Espressif SoC revision.

ESP32-WROOM

Operating System used.

Windows

How did you build your project?

VS Code IDE

If you are using Windows, please specify command line type.

None

Development Kit.

ESP32-Wrove_kit

Power Supply used.

USB

What is the expected behavior?

I send more than 85KB data By MQTT API esp_mqtt_client_publish() successful

What is the actual behavior?

I send more than 85KB data By MQTT API esp_mqtt_client_publish(), but system show the error that outbox: outbox_enqueue(53): Memory exhausted. But I see there is more than 100KB heap space

Steps to reproduce.

Base the MQTT Example code "tcp", and create more than 85KB char data, use esp_mqtt_client_publish() to send data 微信截图_20240822100324

Debug Logs.

No response

More Information.

No response

euripedesrocha commented 2 months ago

@Irving-LJP thanks for reporting.

Could you share the logs and mqtt client settings?