Max OS_Zalloc Size and espconn_send

AgentSmithers
Posts: 195
Joined: Sat Apr 01, 2017 1:21 am
Contact:

Max OS_Zalloc Size and espconn_send

Postby AgentSmithers » Sat Mar 24, 2018 12:32 am

Does anyone know the limit for Zalloc or Malloc on the esp. I am approaching around 7k and It seems to be giving me issues allocating that amount. Anything I should be aware of. I am trying to format an HTML page to send out via espconn_send.

Her Mary
Posts: 537
Joined: Mon Oct 27, 2014 11:09 am

Re: Max OS_Zalloc Size and espconn_send

Postby Her Mary » Tue Mar 27, 2018 6:03 pm

Maybe save it into flash, and then read it, and send it, is a better choice?

AgentSmithers
Posts: 195
Joined: Sat Apr 01, 2017 1:21 am
Contact:

Re: Max OS_Zalloc Size and espconn_send

Postby AgentSmithers » Wed Mar 28, 2018 2:09 am

That seems like the same thing I am doing now. It may be the Connection: Close header where I have to send everything in one packet/esp_send.

Who is online

Users browsing this forum: No registered users and 158 guests