Home Help Center

Forking Process within Ice Server

acbellacbell Member Andrew BellOrganization: Iowa State UniversityProject: National Resources Inventory ✭✭

We are using a third party library in our server application which leaks memory quite a bit. Can we fork a process to handle each ICE request so that we can end the process (and free the leaked memory) when the request is complete? Are there any problems related to ICE that might be created by taking this approach?


-- Andrew Bell
[email protected]


  • mesmes CaliforniaAdministrators, ZeroC Staff Mark SpruiellOrganization: ZeroC, Inc.Project: Ice Developer ZeroC Staff
    Hi Andrew,

    I can't see any reason why that wouldn't work, as long as your child process doesn't attempt to use any of the parent's Ice resources (such as connections). Of course, it will be expensive to create a process for each request, but for lengthy operations that shouldn't be an issue.

    Take care,
    - Mark
Sign In or Register to comment.