Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Component Services / August 2003

Tip: Looking for answers? Try searching our database.

RE: COM+ and DLLHost.exe Memory Consumption

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
TheT8 - 01 Aug 2003 18:29 GMT
I have an n-tier .NET enterprise application that is having some issues.

I'm utilizing three tiers.
Presentation - ASP.NET web application
Business - .NET class library using Enterprise Services and COM+
Data - SQL server 2000

The presentation instantiates components from the business tier, does what
it needs to do and then disposes of the object using .dispose. Event
tracking is enabled on the COM+ app components, and all objects show 0
instances being held after the method called is finished executing.

The issue is that when the com+ app in the business tier is first called, a
dllhost.exe is started with a memory allocated around 15,000K. The first
request to the create an instance causes the memory to jump to 19,000K and
then with every additional call to the component, the dllhost.exe increases
in memory until the server falls over... Its as if the memory allocated for
the objects in com+ are never being released once instantiated.

Does anyone have any suggestions?

Thank you.
T
posthumecaver - 26 Aug 2003 14:53 GMT
Are you calling the dispose methods of the serviced components.

Btw, if you are not using the Transaction Support of the COM+ why are u
using with ASP.NET.

ASP.NET Application domains are already given you all the benefits of the
COM+ except transaction support and Object Pooling.

> I have an n-tier .NET enterprise application that is having some issues.
>
[quoted text clipped - 19 lines]
> Thank you.
> T
posthumecaver - 26 Aug 2003 14:56 GMT
Sorry stupid answer,

I already saw that you are using the dispose method.

What happens you force the Garbage Collector to run.

I guess it is gc.Collect

> I have an n-tier .NET enterprise application that is having some issues.
>
[quoted text clipped - 19 lines]
> Thank you.
> T

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.