Windows Service profiling - service abruptly terminates

Code and memory profiling for .NET developers.

Windows Service profiling - service abruptly terminates

Postby NZJon » Tue Feb 17, 2009 2:56 am

Hi,

I am profiling a Windows Service and am having problems with the service being terminated prematurely. There seems to be two scenarios whereby the service is stopped:

1) After maybe 30 seconds or so
2) After maybe 15 minutes or so

Once the service has stopped, the blue "Stop Profiling" button on the ANTS Profiler console greys out, and shortly afterwards, the incomplete results are displayed.

There doesn't appear to be any pattern to this behaviour, and is unfortunately preventing me accurately profiling our code. Has anyone else experienced this, and is it a known issue with ANTS Profiler 4.1?

Many thanks,

Jon
Jon Pawley,
Senior Software Engineer,
Wellnomics Limited,
www.wellnomics.com
NZJon
 
Posts: 3
Joined: Wed Mar 21, 2007 6:27 am

Postby Brian Donahue » Fri Feb 20, 2009 11:14 am

Hi,

I think that ANTS Profiler is just crashing your service the same way that it could crash an executable or other type of application. You may try using the "simplify complex stack traces" option. Especially if the failure appears to be random, the cause may simply be that ANTS Profiler is causing a stack overflow, and simplifying the stack traces may help.

You may want to check your event logs to see if there is any consistent cause for failure noted there.
Brian Donahue
 
Posts: 6590
Joined: Mon Aug 23, 2004 10:48 am


Return to ANTS Profiler Previous Versions

Who is online

Users browsing this forum: No registered users and 0 guests

cron