<div dir="ltr"><div dir="ltr">We
are seeing an issue when using a POA to capture servants as they are
activated and deactivated. The memory size of the server program that
manages the POA is growing as servants are being activated by the POA.
Conversely, when we are deactivating those same servants and removing
all references to the object to initiate object destruction, we are not
seeing a reduction in memory size for the server program. Instead, the
memory size remains consistent when the last object was activated by the
POA. <br>
<br>It looks like the containers that manage the servants and
identifiers are not re-sizing as we would expect. Are there policy
settings or orb configuration settings that we could alter to affect the
resize activity on these containers? When creating a child POA we are
using the following policy:<br>
<br> policy_list.length(pstart+1);<br> policy_list[pstart] = parent->create_request_<div>processing_policy(PortableServer::USE_ACTIVE_OBJECT_MAP_ONLY);<br> pstart++;<br> policy_list.length(pstart+1);<br>
policy_list[pstart] = parent->create_lifespan_policy(PortableServer::TRANSIENT);<br> pstart++;<br> policy_list.length(pstart+1);<br> policy_list[pstart] = parent->create_id_assignment_policy(PortableServer::SYSTEM_ID);<br>
pstart++;<br> policy_list.length(pstart+1);<br> policy_list[pstart] = parent->create_thread_policy(PortableServer::ORB_CTRL_MODEL);<br> pstart++;<br> policy_list.length(pstart+1);<br>
policy_list[pstart] = parent->create_servant_retention_policy(PortableServer::RETAIN);<br> pstart++;?<br></div></div><div dir="ltr"><br>Cheers,<br><br>Jason</div><br clear="all"><br>-- <br>Jason J Hein<br>
Objective Solutions, Inc.<br><a href="mailto:jason.j.hein@objectivesolutions.com" target="_blank">jason.j.hein@objectivesolutions.com</a><br>703.856.2840
</div>