Home Help Center

Proxy and memory leak

fengxbfengxb Member feng xuebinOrganization: jiexin techProject: scientific calculation
Hi, Marc,

In my client program I send messages to server with a proxy. If the server is down, the proxy will try to reconnect to it continuous. The memory watcher displays the memory of the client program increases continuous. Should I destroy the proxy when the connection failed? How destroy the proxy explicitly?



  • marcmarc FloridaAdministrators, ZeroC Staff Marc LaukienOrganization: ZeroC, Inc.Project: The Internet Communications Engine ZeroC Staff
    Proxies do not need to be destroyed. You only must make sure that the communicator is destroyed before your client or server exits. We are not aware of any memory leaks in Ice. Ice has been checked for memory leaks with Purify.
  • michimichi Member Michi HenningOrganization: Triodia TechnologiesProject: I have a passing interest in Ice :-) ✭✭✭
    If you can put together a small, self-contained example that demonstrates the leak, I'll have a look at it.


Sign In or Register to comment.