Red Gate forums :: View topic - Windows Service profiling - service abruptly terminates
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
ANTS Profiler Previous Versions
ANTS Profiler Previous Versions forum

Windows Service profiling - service abruptly terminates

Search in ANTS Profiler Previous Versions forum
Post new topic   Reply to topic
Jump to:  
Author Message
NZJon



Joined: 21 Mar 2007
Posts: 3

PostPosted: Tue Feb 17, 2009 2:56 am    Post subject: Windows Service profiling - service abruptly terminates Reply with quote

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
Back to top
View user's profile Send private message
Brian Donahue



Joined: 23 Aug 2004
Posts: 6641

PostPosted: Fri Feb 20, 2009 11:14 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot 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


Powered by phpBB © 2001, 2005 phpBB Group