NmpCore Command Line Options
NmpCore Command Line Options
Nmpcore is an awesome utilty. However, there is a scenario where I would like it to not capture instance data. When our app has millions of objects in memory, it results ina very large snapshot dump. I was hoping that disabling some snapshot features, such as 'collect instance data' would reduce the saved session size. I've tried all of the command line options, including /iid- but it does not seem to work. Perhaps I am doing something wrong? Can you provide an example of proper usage?
This is what I tried:
NmpCore.exe /a myapp.exe /cs1 /iid- /sf e:\dump.prfsession
Thanks
This is what I tried:
NmpCore.exe /a myapp.exe /cs1 /iid- /sf e:\dump.prfsession
Thanks
-
- Posts: 1030
- Joined: Wed Mar 02, 2005 7:53 pm
Re: NmpCore Command Line Options
You are correct, even if you supply the /iid- command line option, the instance data are included in the session file. The profiler always keeps instance data for the last two snapshots, even if instance data should not be saved. Due to a bug, this instance data was always saved in the session file. We have now corrected this, but we have not yet released an official fix. You can download the pending release of NmpCore.exe from http://memprofiler.com/pending/NmpCore.exe.
Unfortunately, the session files can become quite large, even if you exclude the instance data. Reference field data will still be included for each instance, as this data is needed to analyze how instances are related to each other and to present an instance graph. We do have some ideas on how to reduce the session file size, and hopefully the session files will be smaller in the next version.
Unfortunately, the session files can become quite large, even if you exclude the instance data. Reference field data will still be included for each instance, as this data is needed to analyze how instances are related to each other and to present an instance graph. We do have some ideas on how to reduce the session file size, and hopefully the session files will be smaller in the next version.
Best regards,
Andreas Suurkuusk
SciTech Software AB
Andreas Suurkuusk
SciTech Software AB
Re: NmpCore Command Line Options
Thank you for the reply and the beta version. It still appears as though the instance data is collected, but, I am probably looking at the results wrong. I will play around with it some more next week and see what I can find.
Re: NmpCore Command Line Options
I just noticed that I was using /iid0 in my tests. Maybe that was the difference. I will try it next week.
Who is online
Users browsing this forum: No registered users and 11 guests