lwip-users
[Top][All Lists]
Advanced

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

SV: [lwip-users] Memory usage lwip


From: Jan Wester
Subject: SV: [lwip-users] Memory usage lwip
Date: Tue, 16 Mar 2004 17:08:54 +0100

Hi
I have also problem with open/close sequence, we use a test sequence with open-send data-close as fast as possible, and after
3-4 hour it stop, and often in the abort memory handler (using ARM with uCOS), we are trying to find out whats happen.
//Jan Wester
-----Ursprungligt meddelande-----
Från: address@hidden [mailto:address@hiddenFör Erik
Skickat: den 16 mars 2004 12:33
Till: address@hidden
Ämne: [lwip-users] Memory usage lwip

Hi
 
I ported lwIP 0.6.4. for use on an Hitachi H8 processor. I combined lwIP with a PPP implementation from Motorola (a fairly poor one, I think, but it works).
It's up and running, though needs still a lot of tuning.
Nevertheless I do have a problem. It seems as though after having functioned OK for a while (several hours to several days), it seems as though the application is randomly copying pieces of memory to other locations. Mostly it concerns fairly big amounts of memory (256 to 1000 Byte). This lasts as long as the application can stand this kind of behaviour. The problem seems related to the amount of tcp connections opened and closed. The more a tcp connection was made and closed, the more the memory is garbled. After a crucial part of memory is overwritten, the application stops functioning correctly and has to be reset.
Could it be the heap manager (mem, memp) ?
Anybody experienced this kind of behaviour?
 
Regards
Erik

reply via email to

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