cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
jcwill585
Adventurer
Adventurer
560 Views
Registered: ‎06-13-2019

lwip echo server keeps getting "out of memory error" when sending a lot of packets

I'm not sure why my project keeps getting "out of memory error"

err = tcp_write(pcb, payload, len, 1);

 

Err will equal -1.  What setting should I change?

0 Kudos
1 Reply
shabbirk
Moderator
Moderator
518 Views
Registered: ‎12-04-2016

Hi @jcwill585 

See if this forum thread helps, that also discusses the same error with the high load

https://forums.xilinx.com/t5/Ethernet/ERR-MEM-on-tcp-write-from-a-corrupt-memory-table-standalone-BSP/m-p/1141250

 

Best Regards

Shabbir

 

 

 

0 Kudos