> I try to avoid calling the message pump
Ditto.
> DisconnectAll
That worked.
So, now I close the server, call DisconnectAll and no memory leak.
Thanks
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
V
zayin wrote:
>> ..happens, for instance, _if the destination Window has been
>> destroyed after the call to PostMessage
>
> Because the program is ending when the leak occurs that is exactly
> what I think is occurring.
>
> So, after I close all the clients, I call now server.ProcessMessages
> a
> ..happens, for instance, _if the destination Window has been destroyed
after the call to PostMessage
Because the program is ending when the leak occurs that is exactly what I
think is occurring.
So, after I close all the clients, I call now server.ProcessMessages and
that seems to handle the le
zayin wrote:
>> but unless is cumulative it really does not matter.
>
> I concur. It is just a pain.
>
> IMHO, there should be some step(s) to close the clients and close the
> server and not have a memory leak.
I've never seen that leak, anyway Close server's listening
socket in order to disabl
> but unless is cumulative it really does not matter.
I concur. It is just a pain.
IMHO, there should be some step(s) to close the clients and close the server
and not have a memory leak.
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/
> > It is probably a false report...
> MadExcept also reports it as a memory leak.
So after say 10,000 connections, how much extra memory is your
application using than when it started? The VCL often leaks small
amounts of memory, but unless is cumulative it really does not matter.
Use somethin
> It is probably a false report...
MadExcept also reports it as a memory leak.
--
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
> It is on shutdown so I am not worried. The issue is FastMM reports
> the leak each time I quit and that is a pain.
It is probably a false report. I use the ICS web server which uses
SocketServer, and there are no memory leaks after over 100,000
connections.
Angus
--
To unsubscribe or chang
Thanks for the reply Arno.
>Otherwise make sure you close all clients before destroying the server
component.
I made sure that happens before posting the message and the clients are
freed before the server.
It is on shutdown so I am not worried. The issue is FastMM reports the leak
each time I
zayin wrote:
> Hello,
>
> I have upgraded from D2007 to XE and I am now using version 7.04 of
> ICS.
>
> When I close the socket I am getting a memory leak at line 686 in
> TWSocketClient. TiggerSessionClosed.
>
> the line is New(PIdRec);
>
> I do see that if the PostMessage call fails, PIdRec
Hello,
I have upgraded from D2007 to XE and I am now using version 7.04 of ICS.
When I close the socket I am getting a memory leak at line 686 in
TWSocketClient. TiggerSessionClosed.
the line is New(PIdRec);
I do see that if the PostMessage call fails, PIdRec is released on line 696.
If the Po
11 matches
Mail list logo