lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-users] Out of memory errors under load


From: JM
Subject: Re: [lwip-users] Out of memory errors under load
Date: Mon, 2 Apr 2018 14:17:45 +0000 (UTC)

I borrowed a trick from the TI lwIP implementation. I set the ethernet Rx interrupt flag periodically to cause an interrupt where timeouts are checked, and it checks for Rx packets. Things work pretty well with 2.0.3, no out of memory errors.


On Wednesday, March 28, 2018, 7:01:34 AM CDT, Sergio R. Caprile <address@hidden> wrote:


... and talking about memory getting freed slower than it is alloced...
since HTTP runs on top of TCP and you said "there is only one entry
point in the Rx", I wonder, how do you call sys_check_timeouts()? TCP
relies on that. If you don't have a main loop, you need to manage to
call it frequently without interrupting the Rx ISR.



_______________________________________________
lwip-users mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/lwip-users

reply via email to

[Prev in Thread] Current Thread [Next in Thread]