Connecting the profiler to a target process
gvfbb
Posts: 2
hi
I am new in ANTS profiler. My aim is to profile the memory usage of an executing Windows service.
I prepared a service using dotnet and TopShelf. If I run it from VS IDE, I have no problem with memory.
But if I install the service and start it, the executable consumes more and more memory.
So my question is:
is it possible to connect ANTS memory profiler to an executing service, in order to find out what objects consume ram ?
thanks in advance
I am new in ANTS profiler. My aim is to profile the memory usage of an executing Windows service.
I prepared a service using dotnet and TopShelf. If I run it from VS IDE, I have no problem with memory.
But if I install the service and start it, the executable consumes more and more memory.
So my question is:
is it possible to connect ANTS memory profiler to an executing service, in order to find out what objects consume ram ?
thanks in advance
Giovanni
Comments
When you select the 'attach to a .net 4 process' option, you will get a list of all process you have permission for.
I want to profile the IIS web application.
First scenario:
1. Ran the profiler app as administrator; the web app is running on IIS 6.1, Windows Server 2008 R2 Datacenter
2. Going to attach to .net process page, selected the svchost process corresponding with the W3SVC service
3. The Start profiling button is still disabled, so I am stuck here.
Second scenario:
1. Idem as above
2. Going to IIS - ASP.Net page - says IIS is not installed on this computer, which is obviously false, this is a live IIS server with ASP.Net 4 enabled. So I am stuck here again.
Third scenario
1. Idem as the first one
2. Going to the Windows service page - selected the W3SVC service from the list
3. Pressed the start profiling button
4. The profiling screen says "Starting application" and stays here, although the service starts (as seen in the Services section of Computer management and also in the task manager services section)
So, again, stuck.
Please advise what am I missing.
Thank you!