Massimo,

contrib/examples/uhttpd is the source code, you build it using inet (instead
of socket, which is default), then you start it.

>From a different pc or even the same, open IE, and ask for
localhost/index.html if on the same pc or ip-of-the-other-pc/index.html.

Now keep refreshing it (F5 on windows) and see how much memory it uses in
task-manager.

If it behaves like on OS/2, you'll see more and more memory being used without
it being released even if the server is idle.

Maurilio.

Massimo Belgrano wrote:
> Sorry i can't.
> i not have uhttpd server  and don't know How i write a simple query
> Have only windows and harbour
> 
> 
> 2009/2/19 Maurilio Longo <maurilio.lo...@libero.it>:
>> A sample?
>>
>> I simply query  http://ip-of-pc-with-uhttpd/index.html  from a different pc,
>> on the pc with the uhttpd server memory keeps going down.
>>
>> I've rebuilt without HB_FM_STATISTICS_OFF but when uhttpd stops it does not
>> show leaked memory blocks.
>>
>> Maurilio.
>>
>>
>>
>> Massimo Belgrano wrote:
>>> if you post a sample i will try on windows (uhttpd with inet)
>>>
>>> 2009/2/19 Maurilio Longo <maurilio.lo...@libero.it>:
>>>> Hi,
>>>>
>>>> I've built uhttpd on OS/2 using inet, it works ok, but every new connection
>>>> uses 4 Kb of memory, more or less, which is not freed until after the 
>>>> process
>>>> ends.
>>>>
>>>> Question: did anybody make some test with uhttpd build with inet on 
>>>> windows?
>>>> did he experienced such 'memory leaks'?
>>>>
>>>> I'm not sure it is a memory leak, but memory keeps getting consumed, I've
>>>> reached 2000 refreshes of index.html using more or less 16Mb or ram.
>>>>
>>>> Best regards.
>>>>
>>>> --
>>>>  __________
>>>> |  |  | |__| Maurilio Longo
>>>> |_|_|_|____| farmaconsult s.r.l.
>>>>
>>>>
>>>> _______________________________________________
>>>> Harbour mailing list
>>>> Harbour@harbour-project.org
>>>> http://lists.harbour-project.org/mailman/listinfo/harbour
>>>>
>>>
>>>
>> --
>>  __________
>> |  |  | |__| Maurilio Longo
>> |_|_|_|____| farmaconsult s.r.l.
>>
>>
>> _______________________________________________
>> Harbour mailing list
>> Harbour@harbour-project.org
>> http://lists.harbour-project.org/mailman/listinfo/harbour
>>
> 
> 
> 

-- 
 __________
|  |  | |__| Maurilio Longo
|_|_|_|____| farmaconsult s.r.l.


_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to