[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] Disturbing status outputs
From: |
Kieran Mansley |
Subject: |
Re: [lwip-users] Disturbing status outputs |
Date: |
Thu, 14 Jan 2010 14:51:57 +0000 |
On Thu, 2010-01-14 at 13:36 +0000, Kieran Mansley wrote:
> On Thu, 2010-01-14 at 14:14 +0100, Bernhard 'Gustl' Bauer wrote:
> > Hi,
> >
> > I just checked the status of my LWIP 1.3.0 and it says:
> >
> > MEM_HEAP
> > avail: 8192
> > used: 59408
> > max: 63492
> > err: 0
> >
> >
> > How can more heap memory be used than is available?
>
> total = used + available
>
> i.e. "available" is synonymous with "free"
Sorry - I replied too quickly without thinking it through. The above is
wrong. Simon's suggestion of overflowing a variable sounds likely.
Kieran