ControllerStartAllocationProfiling Method
|
Namespace:
YourKit.Profiler.Api
Assembly:
YourKit.Profiler.Api (in YourKit.Profiler.Api.dll) Version: 2025.3.143
Syntaxpublic void StartAllocationProfiling(
AllocationProfilingSettings settings
)
Public Sub StartAllocationProfiling (
settings As AllocationProfilingSettings
)
public:
void StartAllocationProfiling(
AllocationProfilingSettings^ settings
)
member StartAllocationProfiling :
settings : AllocationProfilingSettings -> unit
Parameters
- settings
- Type: YourKit.Profiler.ApiAllocationProfilingSettings
Allocation profiling settings
ExceptionsException | Condition |
---|
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