[omniORB-dev] RE: Callback memory leak?

Duncan Grisby duncan at grisby.org
Fri Sep 24 14:27:09 BST 2004


On Saturday 18 September, "Rick Sanden" wrote:

> Looking into to it more, it appears that the tcpip connection being
> left open are causing the memory leak .  I have in and out scan
> periods set to zero.  Setting them to non-zero values clears up the
> memory leak.  I had them set to zero because I did not want the
> connections closed during operations. Responses back to the client
> need to be very quick. So my next question is - "How long does it
> take to reopen a connection if needed".  On
> average is it  > 5 mS
>                   > 10 mS
>                   > 20 mS

Opening a connection is just a matter of opening a TCP connection.
That is limited by network latency, since a number of packets have to
be exchanged to establish the TCP session. As a rough estimate, get
the ping time between the client and server, and add a couple of
milliseconds.

Cheers,

Duncan.

-- 
 -- Duncan Grisby         --
  -- duncan at grisby.org     --
   -- http://www.grisby.org --



More information about the omniORB-dev mailing list