[Top][All Lists]

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

[lwip-users] Memory use for connection with callback function

From: Marco Jakobs
Subject: [lwip-users] Memory use for connection with callback function
Date: Tue, 30 Apr 2013 13:56:01 +0200



i've written a very effective IP handling task to safe memory and processing time in a system with a small memory footprint. For a most effective speed and handling I'm using netconn's with callback functions to just process what's coming in instead of polling each connection with a wait time of 1ms.


Unfortunately I've seen that each existing connection lowers the available RTOS memory by around 300 bytes as it seems to create a message queue in the system. Not being sure why such an amount needs to be used just for the callback, is there any way to get rid of this use – or even lower it? This is actually up to 3 kBytes for 10 simultaneous connections – memory which I don't have left …




reply via email to

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