Click or drag to resize

ControllerStartAllocationProfiling Method

Namespace:  YourKit.Profiler.Api
Assembly:  YourKit.Profiler.Api (in YourKit.Profiler.Api.dll) Version: 2025.3.143
Syntax
public void StartAllocationProfiling(
	AllocationProfilingSettings settings
)

Parameters

settings
Type: YourKit.Profiler.ApiAllocationProfilingSettings
Allocation profiling settings
Exceptions
ExceptionCondition
Exception If allocation profiling cannot be started. Possible reasons:
  • allocation profiling has been disabled for the profiled application
  • the profiler has attached to a running process: the attach mode does not support allocation profiling; to use allocation profiling start the application with the profiler
  • the profiled application has terminated
  • I/O error
Remarks
If allocation profiling is already running, it will reset and start anew.
See Also