[omniORB] Server leaks / Threads constantly increasing

Kelly Burkhart kburk@sky.net
Mon, 7 Jun 1999 21:56:10 -0500 (CDT)


Thomas Bednarz writes:
 > Hello OmniORB users,
 > 
 > I have a problem with objects I create through a factory on my server. I
 > currently use version 2.6.1 on NT. When I look in NT's performance monitor
 > or Task Manager the number of threads constantly increases by one with every
 > object my Factory creates. These threads get killed only when the client
 > process terminates. When the client does not need the object anymore it
 > calls 	
 > CORBA::BOA::getBOA()->dispose(<theObject>). But this does not decrease the
 > number of threads!
 > 

You can use the lifecycle support for this.  Take a look at the
lifecycle examples and the <omniorbdir>/doc/lifecycle.ps doc for a
nice factory example.