lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] memp_memory and ram_heap


From: Simon Goldschmidt
Subject: Re: [lwip-users] memp_memory and ram_heap
Date: Thu, 05 Jan 2012 10:53:57 +0100

narke <address@hidden> wrote:
> I found memp_memory and ram_heap are two most biggest ram variables in
> my setup, they are now each 5.5k bytes around.  These two variables
> are similar in size and their sizes changes when I change the MEM_SIZE
> constant.
> 
> I want to ask, is this normal?  And, what's the relationship between
> these two variable?

No, not normal. Normally, MEM_SIZE should only influence the heap (ram_heap), 
not the pools (memp_memory). ram_heap should be about the size of MEM_SIZE (a 
little more, say 16 bytes or so). memp_memory is made up of many configuration 
options (and depending on target pointer size, etc) and its size cannot be 
easily calculated.

Simon
-- 
Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de



reply via email to

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