Hi Maurilio,

Il 04/03/2009 8.58, Maurilio Longo ha scritto:
I did a full rebuild of harbour and uhttpd with current cvs, the problem is
still there, maybe it uses a little less, I'm not sure I did not keep a
precise count, anyway it uses some memory for each call and does not release
it even after a few minutes of idleness.

Thank you.
Could you add two others hb_GCAll( .t. ) at lines 800 and 932 as in attached patch and test it again ?

TIA
Best regards,
Francesco

Index: uhttpd.prg
===================================================================
--- uhttpd.prg  (revision 10520)
+++ uhttpd.prg  (working copy)
@@ -797,6 +797,9 @@
          hb_mutexUnlock( s_hmtxBusy )
       ENDIF
 
+      // Memory release
+      hb_GCAll( TRUE )  // FSG - memory check
+
    ENDDO
 
    WriteToConsole( "Quitting ProcessConnections() " + hb_CStr( nThreadId ) )
@@ -926,6 +929,9 @@
          hb_mutexUnlock( s_hmtxBusy )
       ENDIF
 
+      // Memory release
+      hb_GCAll( TRUE )  // FSG - memory check
+
    ENDDO
 
    WriteToConsole( "Quitting ServiceConnections() " + hb_CStr( nThreadId ) )
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to