Jun
2006-07-27 02:03:07 UTC
I'm relatively new in CORBA and working to implement a ServantLocator.
One question I have is what does POA.create_reference_with_id exactly do?
Since I'm using a ServantLocator, it should just generate object reference
and shouldn't cache the newly generated reference?
I'm asking this because I'm seeing a memory leak in my test server.
As a test I have put a loop in ServantLocator.preinvoke() to call
create_reference_with_id repeatedly and this seems to increase the memory
usage.
Please let me know if you need any more details or suggestions.
thanks,
Jun Lee
One question I have is what does POA.create_reference_with_id exactly do?
Since I'm using a ServantLocator, it should just generate object reference
and shouldn't cache the newly generated reference?
I'm asking this because I'm seeing a memory leak in my test server.
As a test I have put a loop in ServantLocator.preinvoke() to call
create_reference_with_id repeatedly and this seems to increase the memory
usage.
Please let me know if you need any more details or suggestions.
thanks,
Jun Lee