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
|