[En-Nut-Discussion] Up/down interface, heap

Elan Feingold elan at bluemandrill.com
Tue Oct 3 19:14:07 CEST 2006


Brett,

I'm in the same boat with PPP and memory, and I would love to take  
you up on your kind offer.

Many, many thanks,

-elan


> Andras
>
> I recall many many nights of pain and suffering finding just the  
> right order and combination of PPP management commands to stop the  
> memory leaks.
>
> If you would be happy to take a sample code from me and turn it  
> into a "sample PPP" project for the nutos Project, I would happily  
> spend some time taking my code and cutting it down to the PPP  
> basics.  I dont have the time to test it and convert it into a  
> nutos sample project but if you do, Im happy to do what I can.
>
> Cheers
> Brett
>
> Szemző András wrote:
>> Hi,
>>
>> I can connect to GPRS with PPP interface, and I can terminate the  
>> link (with
>> closing the PPP interface, It disconnects ok), I can setup it  
>> again without reboot, and terminate, so on...
>> The only problem is as I see the heap is continuosly decreasing...
>>
>> What may be the problem? (I now removed all my malloc/free in my  
>> program, so I think the problem is
>> in the NUT)
>>
>> Thanks
>> Andras
>>
>> Here is a simple log:
>>
>> Modem initialized
>> Heap: 20046
>> PPP link up
>> Connecting...
>> Heap: 19849
>> Configure PPP...
>> Heap: 18496
>> Heap: 18496
>> failed
>> PPP up failed, try again after 10 sec!
>> Heap: 18496
>> Connecting...
>> done
>> Configure PPP...
>> Heap: 18496
>> Heap: 18496
>> Local IP: 10.255.239.191
>> PPP up success!
>> Heap: 18450
>> Stopping PPP link... Heap: 19242
>> Local IP: 10.255.29.164
>> PPP up success!
>> Heap: 17774
>> Stopping PPP link...
>> Heap: 19020
>> PPP link up
>> Connecting...
>> Configure PPP...
>> Heap: 17470
>> Local IP: 10.255.10.93
>> PPP up success!
>> Heap: 17423
>> Heap: 17424
>> Stopping PPP link... Heap: 18895
>> PPP link up
>> Connecting... Heap: 17345
>> Local IP: 10.255.51.138
>> PPP up success!
>> Heap: 17299
>> Heap: 17299
>> Stopping PPP link...
>>
>>
>>
>>
>>
>>
>>
>> _______________________________________________
>> En-Nut-Discussion mailing list
>> En-Nut-Discussion at egnite.de
>> http://www.egnite.de/mailman/listinfo.cgi/en-nut-discussion
>>
>>
>>
>
> -- 
> -----------------------------------------------------------------
> Brett Abbott, Managing Director, Digital Telemetry Limited
> Email: Brett.Abbott at digital-telemetry.com
> PO Box 24 036 Manners Street, Wellington, New Zealand
> Phone +64 (4) 5666-860  Mobile +64 (21) 656-144
> ------------------- Commercial in confidence --------------------
>
>
> _______________________________________________
> En-Nut-Discussion mailing list
> En-Nut-Discussion at egnite.de
> http://www.egnite.de/mailman/listinfo.cgi/en-nut-discussion
>




More information about the En-Nut-Discussion mailing list