Use this forum for questions on how to use .NET Memory Profiler and how to analyse memory usage.
- Posts: 12
- Joined: Thu Aug 02, 2007 7:42 pm
Can someone provide an example of how to capture a snapshot and save it to disk using the MemProfiler API?
- Posts: 1029
- Joined: Wed Mar 02, 2005 7:53 pm
When collecting a snapshot using the API, the snapshot is saved in a temporary session file. The final session file is not created until the session is ended. There is currently no API method that causes a session file to be created while profiling, it can only be done using the UI (File->Save Session As...).
We will add the possibility to save the session file programmatically in a future version (possibly in v3.1).
SciTech Software AB
Users browsing this forum: No registered users and 27 guests