lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] mem_malloc return NULL


From: Simon Goldschmidt
Subject: Re: [lwip-users] mem_malloc return NULL
Date: Wed, 27 Aug 2008 09:09:54 +0200

> I don't have any means to read the debug values. When if i enable display
> functions, i won't have any means to "read" it.
> Am i sounding confused? All i wish to say is that i don't have means like
> JTAG, etc. to read back any thing from my kit.

That's a pity because all you can do then is make the heap larger and try 
again. Once it runs you could write a http server that tells you about the 
stats after running for a while so you could decrease the head again. You also 
might have to increase the pbuf pool size.

To see whether you run out of memory, you could turn on a LED wherever stats 
increase the 'err' member (look in memp.c, mem.c and maybe pbuf.c).

Simon
-- 
Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten 
Browser-Versionen downloaden: http://www.gmx.net/de/go/browser




reply via email to

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