Matt
Matt

Reputation: 1704

(How) can I enable allocation data collection when profiling with dotMemory CLT

I'm getting comfortable with dotMemory CLT and I'd like to understand if/how I can enable the collection of allocation data with a command line flag.

With the API, I'm aware of the ability to leverage MemoryProfiler.EnableAllocations, and with the desktop application I simply check a box

Image showing the check-box I'm referencing

But I find no references to this concept with respect to the CLT.

Attempting to use start doesn't do the trick, and poring over dotMemory help start doesn't reveal anything promising.

Is this simply not-supported, or am I missing/mis-understanding a critical section of documentation?

Upvotes: 2

Views: 451

Answers (1)

Ed Pavlov
Ed Pavlov

Reputation: 2508

Line copied from dotMemory.exe help start |more

[--collect-alloc|-c] Collect callstack allocation data (impacts performance!)

Example: dotMemory start "C:\Path\To\YourProgram.exe" -c

Upvotes: 2

Related Questions