Allocation Recording in Remote Services?

Questions about YourKit .NET Profiler
Post Reply
mikebd
Posts: 1
Joined: Thu Feb 04, 2010 11:20 pm

Allocation Recording in Remote Services?

Post by mikebd »

I have had no trouble profiling a remote service after reading the documentation.

However, I could find no reference to what is required to enable allocation recording for remote services.

Is this possible?

Thanks.
Anton Katilin
Posts: 6172
Joined: Wed Aug 11, 2004 8:37 am

Re: Allocation Recording in Remote Services?

Post by Anton Katilin »

Hello,

Please set the following registry keys, just like the profiler UI does when you locally enable allocation on Welcome screen:

In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework, create keys:

YNP_ALLOC_ENABLED REG_DWORD 1 - allocation recording enabled, 0 - disabled

when enabled, use these settings:

YNP_RECORD_EACH_ENABLED REG_DWORD 1 - enabled, 0 - disabled
YNP_RECORD_EACH_NUMBER REG_DWORD <value>
YNP_RECORD_LIMIT_ENABLED REG_DWORD 1 - enabled, 0 - disabled
YNP_RECORD_SIZE_LIMIT REG_DWORD <value>

Does it work for you?

Best regards,
Anton
Post Reply