Welcome to HostingForumz.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

COM Interop Memory Leak

 
   Web Hosting Problem Solving Community! (Home) -> IIS RSS
Next:  IIS Worker Process error  
Author Message
john

External


Since: Jun 29, 2005
Posts: 3



(Msg. 1) Posted: Sun Jul 10, 2005 3:42 pm
Post subject: COM Interop Memory Leak
Archived from groups: microsoft>public>inetserver>iis (more info?)

We're converting over an ASP site to ASP.NET and have written .NET
class libraries that are used from ASP.NET and from ASP via COM
Interop. When we deploy our changes to our production server everything
seems to run fine for about a day with page file usage in Task Manager
at around 200-300MB and the w3wp.exe process using about 180MB
(physical memory is 1GB). CPU usage hovers between 15 - 25%.

Then after one day of running fine the memory usage seems to shoot up.
The page file goes up to 2GB and the w3wp.exe process churns through
all available memory. CPU usage shoots up to 100%.

We've tried enabling application recycling and setting a memory cap of
600MB. Sometimes this helps and another day or two will pass before
another recycle takes place. Other times recycling occurs repeatedly
with only minutes between recycles because W3wp.exe consumes all the
memory moments after it's restarted.

Our server is running W2k3 Web Edition.

The problem appears to be caused COM Interop. Our class doesn't do much
- it basically opens an SQL connection does a few DB things and closes
the connection.

Any help would be greatly appreciated.

 >> Stay informed about: COM Interop Memory Leak 
Back to top
Login to vote
Display posts from previous:   
   Web Hosting Problem Solving Community! (Home) -> IIS All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]