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: address@hidden
Subject: Re: [lwip-users] Understanding memory configuration
Date: Tue, 18 Sep 2018 21:42:21 +0200
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1

On 18.09.2018 09:53, Andy Pont wrote:
[..]
I tried to follow this code but couldn’t find some of the defines.  It turns out this project hasn’t been updated and is still running v1.4.x code!

Ok, that's not good news. You'll find many bugs fixed in the last 6 years!

 Looking through the .map file from the linker there is a memp_memory in the .bss section which is 23,291 bytes.

Try defining MEMP_SEPARATE_POOLS to 1 in lwipopts.h. That should give you many separate pool memories. Maybe that makes it easier for you to see where memory consumption comes from.

Simon

reply via email to

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