Re: [twsocket] THttpServer memory leak

2011-03-17 Thread Arno Garrels
FrancoGG wrote:
 I'm using ICS under Delphi 2007, specifically THttpServer.
 Is it possible there is a memory leak in the component?

Nothing is impossible, look at Japan :(

 Even on an empty form, in a new project, with just a THttpServer and
 a button to start the server, the application's memory usage keeps
 increasing every time a user connects.

That's nothing to worry about. If you want to track real memory leaks in
D2006+ add this line to Form's OnCreate Event handler for example:

ReportMemoryLeaksOnShutdown := (DebugHook  0);
  
That should show a message box if the app. is actually leaking memory. 

-- 

Arno Garrels
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] THttpServer memory leak

2011-03-17 Thread RTT

On 17-03-2011 17:12, FrancoGG wrote:

the application's memory usage keeps increasing every time a user connects
If you are using a custom THttpConnection, check if you are missing to 
free any of its owned objects in its destructor method.

--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be