taking time to start profiling

Use this forum for questions on how to use .NET Memory Profiler and how to analyse memory usage.
Post Reply
Posts: 1
Joined: Mon Jun 09, 2008 5:23 am

taking time to start profiling

Post by nilesh.tantarpale » Mon Jun 09, 2008 9:36 am

trial version :- service is taking time to start profiling.
message "Starting Session , please wait......Waiting for profiled process to start"

platform :- windows xp sp2 , VS 2005 (team edition) ,VC++
database :- oracle xe 10g

solution tried :- .net profiler installed as an administrator access.

thanks in advance.

Andreas Suurkuusk
Posts: 1033
Joined: Wed Mar 02, 2005 7:53 pm

Post by Andreas Suurkuusk » Mon Jun 09, 2008 7:37 pm

You mention that you have a VC++ service. Is this a managed C++ application or a mixed mode application? The "Waiting for profiled process to start" message will not disappear until the .NET runtime has been loaded (by running managed .NET code) and the profiler library has been loaded by the runtime. If the runtime fails to load the profiler library it might add an event in the Event log. Do you see any error messages in the Application event log?

Also, if more than one service is running in the same process, the profiler will also fail to connect to the service unless all services are restarted. The profiler will restart all dependent services, but if you have other services in the process you will need to manually stop them.
Best regards,

Andreas Suurkuusk
SciTech Software AB


Re: taking time to start profiling

Post by kLvin72 » Fri Jul 22, 2011 11:25 am

I have the same problem. This service is only C + +, and has not more services in the same process. Is there any way to get to launch the profiler?

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 12 guests