Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Component Unloading in MTS

Status
Not open for further replies.

purav

Programmer
Aug 20, 2002
1
0
0
US
Hello Guys,

I have registered a component in MTS..
After 5-6 days, My server hangs due to excessive memory usage by the DLLHOSt.exe. I analysed the component in MTS and discovered that the component is never unloaded from MTS and still shows running.

My component acts as a data provider. I have initiazed the connection object in the class initialize event and closed it in the class terminate event.

I have set all my object references to nothing when they are not reqd.

Why is my COM+ component not unloaded after it is idle..?

Please Help

Thanx a lot in advance

Purav
mailpurav@yahoo.com
 
dear Purav
i don't knwo how u strutur ur object but by seeing ur things it seems that u r doing code in the initialize and terminat events of the MTS object which r not the feasible thing to do...what i usually do is to call MTS object from Front-End with an interface and doing that object nothing just below that interface call..it works fine for me..
Regards
Nouman
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top