DotNetNewsgroup.com  
web access to complete list of Microsoft.NET newsgroups
   home   |   control panel login   |   archive  |  
 
  carried group
academic
adonet
aspnet
aspnet.announcements
aspnet.buildingcontrols
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
assignment_manager
datatools
dotnet.distributed_apps
dotnet.general
dotnet.myservices
dotnet.nternationalization
dotnet.scripting
dotnet.security
dotnet.vjsharp
dotnet.vsa
dotnet.xml
dotnetfaqs
framework
framework.clr
framework.compactframework
framework.component_services
framework.controls
framework.databinding
framework.drawing
framework.enhancements
framework.interop
framework.odbcnet
framework.performance
framework.remoting
framework.sdk
framework.setup
framework.webservices
framework.windowsforms
framework.wmi
frwk.windowsforms.designtime
lang.csharp
lang.jscript
lang.vb
lang.vb.controls
lang.vb.data
lang.vb.upgrade
lang.vc
lang.vc.libraries
  
 
start date: Thu, 28 Jun 2007 15:02:39 -0700,    posted on: microsoft.public.dotnet.framework.aspnet.webservices        back       

Thread Index
  1    chen


Native Memory leak? (Private bytes increases resulting in worker process recycling)   
While investigating a possible memory leak scenario in one our web
services, we ran into a peculiar situation where the "private bytes"
of the worker process continued to increase steadily while the .NET
CLR Memory counter '# Bytes in all heaps' remained constant. Pretty
much all the documentation that we've read so far states that this
points to native memory leak and is not a managed memory leak.

So to test this theory further, i created the basic Hello World web
svc & monitored the "private bytes" counter in perf mon/
ProcessExplorer. The app pool was set to recycle when the "Maximum
used memory (in MB)" set to 25. Sure enough, the private bytes used
showed a steady increase and caused the app pool to recycle! What
exactly is happening/leaking here? We've been struggling for the past
3 days to eliminate unnecessary obj allocations and reached a stage
where everything was commented but it still happened. Any ideas?

Config:
IIS 6.0 running on Windows Server 2003 (SP1).
Hello World web svc in .NET 1.1 as well as .NET 2.0 displays the same
behavior.

Thanks
chen
Date:Thu, 28 Jun 2007 15:02:39 -0700   Author:  

Google
 
Web dotnetnewsgroup.com


COPYRIGHT ?2005, EUROFRONT WORLDWIDE LTD., ALL RIGHT RESERVE  |   Contact us