Archived

This forum has been archived. Please start a new discussion on GitHub.

Proxy and memory leak

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?

Regards,

Comments

  • 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.
  • If you can put together a small, self-contained example that demonstrates the leak, I'll have a look at it.

    Cheers,

    Michi.