schedule a snapshot

Hello,

we have an application with a memory leak. The supplier asks to take snapshots a few minutes before and after the events causing the memory leak.
These events happen at night, so I want to schedule the snapshots. Is this possible?

I've tried with Powershell, but it always returns false when I try to take a snapshot. I suppose the api only works if invoked in the application to be traced itself?

The Powershell commands I've used:
add-type -Path "D:\Program Files\Red Gate\ANTS Memory Profiler 10\RedGate.MemoryProfiler.Snapshot.dll"
[RedGate.MemoryProfiler.Snapshot]::TakeSnapshot("test")

Is there a way to schedule the snapshots or take snapshots by command line or powershell?
Tagged:

Best Answer

Answers

Sign In or Register to comment.