C++ component performance

Most C++ component performance issues are related to memory leaks. When using C++ types that are mapped from IDL, follow the memory management recommendations in “Using mapped IDL types” in the EAServer Programmer’s Guide.

If you cannot remove memory leaks or instabilities from legacy or third-party code called from your C++ components, you can run the component in its own process. While doing so does not improve the performance of the component, it can improve the overall server performance by isolating the effect of memory leaks or instabilities. For more information, see “Running C++ components externally” in the EAServer Programmer’s Guide.

The suggestions in “Common component performance issues” apply to C++ components.