lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] Understanding memory configuration


From: Andy Pont
Subject: Re: [lwip-users] Understanding memory configuration
Date: Mon, 17 Sep 2018 20:20:05 +0000
User-agent: eM_Client/7.2.33106.0

That macro allocates pools of X elements with Y bytes each.
It allocates (14 * 75) + (6 * 225) + (1 * 525) + (3 * 1540) bytes plus a little offset for administration, so roughly 7,5 kB.
Is that memory being allocated by the linker in either the .data or .bss sections or is it pulled from the heap using malloc()?

They also seem like some really weird combinations of numbers and appear to be one of those things that never got documented anywhere.  Any guesses?

-Andy.


reply via email to

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