Archived

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

How to minimize memory usage of ICE based application?

I am using ICE to implement a desktop application which should communicate with my server application in background. I don't want it be the top 5 memory-consuming application in my users' PC. In one of my test, an ICE based application in Windows 2000, could use about 5-6 M memory even if it just set up an ICE environment and do nothing but ICE communication. Is there any way to minimize the ICE environment's memory usage?
Thanks a lot!

Comments

  • marc
    marc Florida
    No, there is nothing you can do to reduce the size, except if you would manually go through the code and remove things that you don't need. The memory is not something that Ice allocates dynamically, but simply the size of the Ice DLL and the DLLs it depends on, plus the size of your own code.

    We are planning a special "embedded Ice" version that is much more minimalistic, so that it can even run on devices such as cell phones. However, I cannot give you any release date for this yet.